diff --git a/public/js/helpers.js b/public/js/helpers.js index b522c5358..81cecdae9 100644 --- a/public/js/helpers.js +++ b/public/js/helpers.js @@ -1,10 +1,18 @@ -Object.keys = Object.keys || function(o) { - var result = []; - for(var name in o) { - if (o.hasOwnProperty(name)) - result.push(name); - } - return result; -}; +(function (Object) { + + 'use strict'; + + Object.keys = Object.keys || function(o) { + var result = []; + for(var name in o) { + if (o.hasOwnProperty(name)) { + result.push(name); + } + } + + return result; + }; + +})(Object);