From fa6e7cfa1af6b273e55fe7922a6006ff63819bd5 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Mon, 8 Jul 2013 21:24:37 +0200 Subject: [PATCH] Cleans code. --- src/_h5ai/client/js/inc/core/notify.js | 6 +----- src/_h5ai/client/js/inc/ext/filter.js | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/_h5ai/client/js/inc/core/notify.js b/src/_h5ai/client/js/inc/core/notify.js index b4e7c9c7..a9aebbfe 100644 --- a/src/_h5ai/client/js/inc/core/notify.js +++ b/src/_h5ai/client/js/inc/core/notify.js @@ -1,11 +1,7 @@ modulejs.define('core/notify', ['$'], function ($) { - var test = null, - - template = '
', - - id = 0, + var template = '
', set = function (content) { diff --git a/src/_h5ai/client/js/inc/ext/filter.js b/src/_h5ai/client/js/inc/ext/filter.js index 701964f7..3ce6790b 100644 --- a/src/_h5ai/client/js/inc/ext/filter.js +++ b/src/_h5ai/client/js/inc/ext/filter.js @@ -108,7 +108,7 @@ modulejs.define('ext/filter', ['_', '$', 'core/settings', 'core/resource', 'core }) .on('keypress', updt); - event.sub('location.changed', updf) + event.sub('location.changed', updf); }; init();