Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions public/bower_components/file-input/gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ 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");
grunt.loadNpmTasks("grunt-karma");

grunt.registerTask("default", ["jshint", "karma:dev"]);
grunt.registerTask("travis", ["jshint", "karma:travis"]);
};
};
12 changes: 6 additions & 6 deletions public/bower_components/firebase/firebase-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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(/<RegExp goes here>/g, "");
};
goog.string.regExpEscape = function(s) {
return String(s).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g, "\\$1").replace(/\x08/g, "\\x08");
Expand Down Expand Up @@ -1458,7 +1458,7 @@ goog.string.toSelectorCase = function(str) {
goog.string.toTitleCase = function(str, opt_delimiters) {
var delimiters = goog.isString(opt_delimiters) ? goog.string.regExpEscape(opt_delimiters) : "\\s";
delimiters = delimiters ? "|[" + delimiters + "]+" : "";
var regexp = new RegExp("(^" + delimiters + ")([a-z])", "g");
var regexp = new RegExp("(^|[\s]+)([a-z])", "g");
return str.replace(regexp, function(all, p1, p2) {
return p1 + p2.toUpperCase();
});
Expand Down Expand Up @@ -6119,7 +6119,7 @@ goog.provide("fb.core.util.NodePatches");
}
function decodeChunk(state, chunk, encoding) {
if (!state["objectMode"] && state["decodeStrings"] !== false && typeof chunk === "string") {
chunk = new Buffer(chunk, encoding);
chunk = Buffer.from(chunk, encoding);
}
return chunk;
}
Expand Down