diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-05-21 03:43:55 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-05-21 03:43:55 +0400 |
commit | a010d5f1e2524c808892bea22b7d1e4c12cb8e80 (patch) | |
tree | 13c84cbe5fc0951ce29516890f3976e0091558d8 /themes | |
parent | 49aef6892c17a020cb3f41ea35be8a32a586ec22 (diff) |
Replace "new Object()" with equivalent "{}"; also fix "new Object"
(without constructor syntax).
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/common.js b/themes/default/common.js index a56320f1c1..9f012b7105 100644 --- a/themes/default/common.js +++ b/themes/default/common.js @@ -78,7 +78,7 @@ piwikHelper.toggleAjaxLoading = function() piwikHelper.getStandardAjaxConf = function() { - var ajaxRequest = new Object; + var ajaxRequest = {}; ajaxRequest.type = 'GET'; ajaxRequest.url = 'index.php'; ajaxRequest.dataType = 'json'; |