diff options
author | robocoder <anthon.pang@gmail.com> | 2009-05-21 03:43:55 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-05-21 03:43:55 +0400 |
commit | 2c7a5d168983ceb698b8b98344b5bf880ebfda24 (patch) | |
tree | 13c84cbe5fc0951ce29516890f3976e0091558d8 /plugins/Live/templates/scripts | |
parent | 6a8b76046d4b1ec42c5d03df6539a10226f329df (diff) |
Replace "new Object()" with equivalent "{}"; also fix "new Object"
(without constructor syntax).
git-svn-id: http://dev.piwik.org/svn/trunk@1141 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Live/templates/scripts')
-rw-r--r-- | plugins/Live/templates/scripts/spy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Live/templates/scripts/spy.js b/plugins/Live/templates/scripts/spy.js index ac296ab02f..c2fb38863c 100644 --- a/plugins/Live/templates/scripts/spy.js +++ b/plugins/Live/templates/scripts/spy.js @@ -117,7 +117,7 @@ $.fn.spy = function(settings) { return this.each(function() { var e = this; var lr = ''; // last ajax return - var parameters = new Object; + var parameters = {}; spy.ajaxTimer = window.setInterval(function() { if (spyRunning && (!spy.parsing)) { var customParameterValue = o.customParameterValueCallback.call(); |