plugins.updater: inherits from Plugin
authorJordan Augé <jordan.auge@lip6.fr>
Tue, 13 Aug 2013 14:42:28 +0000 (16:42 +0200)
committerJordan Augé <jordan.auge@lip6.fr>
Tue, 13 Aug 2013 14:42:28 +0000 (16:42 +0200)
plugins/updater/static/js/updater.js

index e85a513..d14d5d8 100644 (file)
@@ -1,12 +1,10 @@
 /**
- * Description: associate with a Get query, maintains the 'Update' query that records pending changes
- * Copyright (c) 2012 UPMC Sorbonne Universite - INRIA
+ * Description: Manage query updates
+ * Copyright (c) 2012-2013 UPMC Sorbonne Universite - INRIA
  * License: GPLv3
  */
 
-// xxx this is ongoing work, very rough, and not working at all yet 
-
-( function ( $ ) {
+(function( $ ) {
     
     var debug=false;
 //    debug=true
@@ -49,8 +47,6 @@
 
         /*************************** RECORD HANDLER ***************************/
 
-        on_query_status_
-
         /************************** PRIVATE METHODS ***************************/
 
         /******************************** TODO ********************************/
         }
         */
     });
-})( jQuery );
 
+    $.plugin('Updater', Updater);
+
+})( jQuery );