Skip to content

Commit

Permalink
Merge pull request #7231 from shesek/patch-1
Browse files Browse the repository at this point in the history
Use the native JSON when available
  • Loading branch information
Matthieu Aubry committed Apr 1, 2015
2 parents b9d4cfa + cc5f32a commit f5ed4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/piwik.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
// methods in a closure to avoid creating global variables.

if (typeof JSON2 !== 'object') {
JSON2 = {};
JSON2 = window.JSON || {};
}

(function () {
Expand Down

0 comments on commit f5ed4fd

Please sign in to comment.