Update vendors.

This commit is contained in:
John-David Dalton
2014-12-06 23:58:37 -08:00
parent ac44663f04
commit 3d8cf6a90b
2 changed files with 24 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
/*!
* Benchmark.js v1.0.0 <http://benchmarkjs.com/>
* Benchmark.js v2.0.0-pre <http://benchmarkjs.com/>
* Copyright 2010-2014 Mathias Bynens <http://mths.be/>
* Based on JSLitmus.js, copyright Robert Kieffer <http://broofa.com/>
* Modified by John-David Dalton <http://allyoucanleet.com/>
@@ -293,10 +293,10 @@
* Note: The Benchmark constructor exposes a handful of Lo-Dash methods to
* make working with arrays, collections, and objects easier. The Lo-Dash
* methods are:
* [`each/forEach`](https://lodash.com//docs#forEach), [`forOwn`](https://lodash.com//docs#forOwn),
* [`has`](https://lodash.com//docs#has), [`indexOf`](https://lodash.com//docs#indexOf),
* [`map`](https://lodash.com//docs#map), [`pluck`](https://lodash.com//docs#pluck),
* and [`reduce`](https://lodash.com//docs#reduce)
* [`each/forEach`](https://lodash.com/docs#forEach), [`forOwn`](https://lodash.com/docs#forOwn),
* [`has`](https://lodash.com/docs#has), [`indexOf`](https://lodash.com/docs#indexOf),
* [`map`](https://lodash.com/docs#map), [`pluck`](https://lodash.com/docs#pluck),
* and [`reduce`](https://lodash.com/docs#reduce)
*
* @constructor
* @param {string} name A name to identify the benchmark.
@@ -443,9 +443,9 @@
*
* Note: Each Suite instance has a handful of wrapped Lo-Dash methods to
* make working with Suites easier. The wrapped Lo-Dash methods are:
* [`each/forEach`](https://lodash.com//docs#forEach), [`indexOf`](https://lodash.com//docs#indexOf),
* [`map`](https://lodash.com//docs#map), [`pluck`](https://lodash.com//docs#pluck),
* and [`reduce`](https://lodash.com//docs#reduce)
* [`each/forEach`](https://lodash.com/docs#forEach), [`indexOf`](https://lodash.com/docs#indexOf),
* [`map`](https://lodash.com/docs#map), [`pluck`](https://lodash.com/docs#pluck),
* and [`reduce`](https://lodash.com/docs#reduce)
*
* @constructor
* @memberOf Benchmark
@@ -2342,7 +2342,7 @@
* @memberOf Benchmark
* @type string
*/
'version': '1.0.0'
'version': '2.0.0-pre'
});
_.assign(Benchmark, {

View File

@@ -1,6 +1,6 @@
/*
json2.js
2013-05-26
2014-02-04
Public Domain.
@@ -192,19 +192,11 @@ if (typeof JSON !== 'object') {
};
}
var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
var cx,
escapable,
gap,
indent,
meta = { // table of character substitutions
'\b': '\\b',
'\t': '\\t',
'\n': '\\n',
'\f': '\\f',
'\r': '\\r',
'"' : '\\"',
'\\': '\\\\'
},
meta,
rep;
@@ -356,6 +348,16 @@ if (typeof JSON !== 'object') {
// If the JSON object does not yet have a stringify method, give it one.
if (typeof JSON.stringify !== 'function') {
escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
meta = { // table of character substitutions
'\b': '\\b',
'\t': '\\t',
'\n': '\\n',
'\f': '\\f',
'\r': '\\r',
'"' : '\\"',
'\\': '\\\\'
};
JSON.stringify = function (value, replacer, space) {
// The stringify method takes a value and an optional replacer, and an optional
@@ -403,6 +405,7 @@ if (typeof JSON !== 'object') {
// If the JSON object does not yet have a parse method, give it one.
if (typeof JSON.parse !== 'function') {
cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
JSON.parse = function (text, reviver) {
// The parse method takes a text and an optional reviver function, and returns