From b5bba6e9c972064c1f134a320c4111e1c958cda0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jordan=20Aug=C3=A9?= Date: Tue, 13 Aug 2013 16:42:28 +0200 Subject: [PATCH] plugins.updater: inherits from Plugin --- plugins/updater/static/js/updater.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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 ); -- 2.43.0