From: Jordan Augé Date: Tue, 13 Aug 2013 14:42:28 +0000 (+0200) Subject: plugins.updater: inherits from Plugin X-Git-Tag: myslice-0.2-1~57^2~1 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=b5bba6e9c972064c1f134a320c4111e1c958cda0 plugins.updater: inherits from Plugin --- diff --git a/plugins/updater/static/js/updater.js b/plugins/updater/static/js/updater.js index e85a5131..d14d5d8b 100644 --- a/plugins/updater/static/js/updater.js +++ b/plugins/updater/static/js/updater.js @@ -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 ********************************/ @@ -142,5 +138,7 @@ } */ }); -})( jQuery ); + $.plugin('Updater', Updater); + +})( jQuery );