Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-05-21 03:43:55 +0400
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-05-21 03:43:55 +0400
commita010d5f1e2524c808892bea22b7d1e4c12cb8e80 (patch)
tree13c84cbe5fc0951ce29516890f3976e0091558d8 /themes
parent49aef6892c17a020cb3f41ea35be8a32a586ec22 (diff)
Replace "new Object()" with equivalent "{}"; also fix "new Object"
(without constructor syntax).
Diffstat (limited to 'themes')
-rw-r--r--themes/default/common.js2
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';