diff --git a/public/bower_components/file-input/gruntfile.js b/public/bower_components/file-input/gruntfile.js index eaad507..d23ac8c 100644 --- a/public/bower_components/file-input/gruntfile.js +++ b/public/bower_components/file-input/gruntfile.js @@ -6,8 +6,8 @@ function config(name) { module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON("package.json"), - jshint: config("jshint"), - karma: config("karma") + jshint: require("./grunt_tasks/jshint.js"), + karma: require("./grunt_tasks/karma.js") }); grunt.loadNpmTasks("grunt-contrib-jshint"); @@ -15,4 +15,4 @@ module.exports = function(grunt) { grunt.registerTask("default", ["jshint", "karma:dev"]); grunt.registerTask("travis", ["jshint", "karma:travis"]); -}; \ No newline at end of file +}; diff --git a/public/bower_components/firebase/firebase-debug.js b/public/bower_components/firebase/firebase-debug.js index 302d4e0..1eb3cd0 100644 --- a/public/bower_components/firebase/firebase-debug.js +++ b/public/bower_components/firebase/firebase-debug.js @@ -549,14 +549,14 @@ goog.json.parse = goog.json.USE_NATIVE_JSON ? (goog.global["JSON"]["parse"]) : f var o = String(s); if (goog.json.isValid_(o)) { try { - return(eval("(" + o + ")")); + return JSON.parse(o); } catch (ex) { } } throw Error("Invalid JSON string: " + o); }; goog.json.unsafeParse = goog.json.USE_NATIVE_JSON ? (goog.global["JSON"]["parse"]) : function(s) { - return(eval("(" + s + ")")); + return JSON.parse(s); }; goog.json.Replacer; goog.json.Reviver; @@ -716,7 +716,7 @@ goog.scope(function() { if (storedVal == null) { return null; } else { - return fb.util.json.eval(storedVal); + return fb.util.json.parse(storedVal); } }; DOMStorageWrapper.prototype.remove = function(key) { @@ -1362,7 +1362,7 @@ goog.string.remove = function(s, ss) { }; goog.string.removeAll = function(s, ss) { var re = new RegExp(goog.string.regExpEscape(ss), "g"); - return s.replace(re, ""); + return s.replace(//g, ""); }; goog.string.regExpEscape = function(s) { return String(s).replace(/([-()\[\]{}+?*.$\^|,:#