diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-01-27 09:23:03 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-01-27 09:23:03 +0100 |
commit | be37aed9f5d923fe16e264c6ffc97db08503b791 (patch) | |
tree | 9ab5442c37240da881c2308290f2f5425003ba92 /js/vendor/es6-shim | |
parent | 1bc1507dd4d92c841e9a56c7d4c241dd7fa1c25f (diff) |
more clientside updates (angular 1.4 beta, es6-shim, momentjs
Diffstat (limited to 'js/vendor/es6-shim')
-rw-r--r-- | js/vendor/es6-shim/.bower.json | 10 | ||||
-rw-r--r-- | js/vendor/es6-shim/CHANGELOG.md | 76 | ||||
-rw-r--r-- | js/vendor/es6-shim/Gruntfile.js | 20 | ||||
-rw-r--r-- | js/vendor/es6-shim/README.md | 26 | ||||
-rw-r--r-- | js/vendor/es6-shim/bower.json | 2 | ||||
-rw-r--r-- | js/vendor/es6-shim/component.json | 2 | ||||
-rw-r--r-- | js/vendor/es6-shim/es6-sham.js | 197 | ||||
-rw-r--r-- | js/vendor/es6-shim/es6-sham.map | 2 | ||||
-rw-r--r-- | js/vendor/es6-shim/es6-sham.min.js | 11 | ||||
-rw-r--r-- | js/vendor/es6-shim/es6-shim.js | 3438 | ||||
-rw-r--r-- | js/vendor/es6-shim/es6-shim.map | 2 | ||||
-rw-r--r-- | js/vendor/es6-shim/es6-shim.min.js | 11 | ||||
-rw-r--r-- | js/vendor/es6-shim/package.json | 55 | ||||
-rw-r--r-- | js/vendor/es6-shim/test-sham/set-prototype-of.js | 17 |
14 files changed, 2092 insertions, 1777 deletions
diff --git a/js/vendor/es6-shim/.bower.json b/js/vendor/es6-shim/.bower.json index 8b99be22a..8b258b232 100644 --- a/js/vendor/es6-shim/.bower.json +++ b/js/vendor/es6-shim/.bower.json @@ -1,7 +1,7 @@ { "name": "es6-shim", + "version": "0.23.0", "repo": "paulmillr/es6-shim", - "version": "0.18.0", "description": "ECMAScript 6 (Harmony) compatibility shims for legacy JavaScript engines", "keywords": [ "ecmascript", @@ -28,13 +28,13 @@ "test" ], "homepage": "https://github.com/paulmillr/es6-shim", - "_release": "0.18.0", + "_release": "0.23.0", "_resolution": { "type": "version", - "tag": "0.18.0", - "commit": "0b6d1dda46c13dfc9d1240a4f5e1b31ed78c8c0b" + "tag": "0.23.0", + "commit": "fde6f2134762d36e9b1324f212fd939282700ca5" }, "_source": "git://github.com/paulmillr/es6-shim.git", - "_target": "~0.18.*", + "_target": "~0.23.*", "_originalSource": "es6-shim" }
\ No newline at end of file diff --git a/js/vendor/es6-shim/CHANGELOG.md b/js/vendor/es6-shim/CHANGELOG.md index 4c3ae2b28..dc2011087 100644 --- a/js/vendor/es6-shim/CHANGELOG.md +++ b/js/vendor/es6-shim/CHANGELOG.md @@ -1,5 +1,75 @@ # es6-shim x.x.x (not yet released) +# es6-shim 0.23.0 (26 Jan 2015) +* Use Symbol.species when available, else fall back to "@@species" (renamed from "@@create") +* Fix `npm run test-native` +* Correct broken Math implementations: `log1p`, `exmp1`, `tanh`, `acosh`, `cosh`, `sinh`, `round` (#314) +* Update `jscs`, `grunt-saucelabs`, `jshint` + +# es6-shim 0.22.2 (4 Jan 2015) +* Faster travis-ci builds +* Better ES3 support: quoting/avoiding reserved words +* Update `mocha`, `jscs`, `jshint`, `grunt-saucelabs`, `uglify-js` + +# es6-shim 0.22.1 (13 Dec 2014) +* Make RegExp#flags generic, per spec (#310) + +# es6-shim 0.22.0 (12 Dec 2014) +* Add RegExp#flags +* Make `new RegExp` work with both a regex and a flags string +* Remove non-spec `Object.{getPropertyNames,getPropertyDescriptor}` + +# es6-shim 0.21.1 (4 Dec 2014) +* Promise/Promise.prototype methods, and String#{startsWith,endsWith} are now not enumerable +* Array#{keys, values, entries} should all be @@unscopeable in browsers that support that +* Ensure that tampering with Function#{call,apply} won’t break internal methods +* Add Math.clz32, RegExp tests +* Update es6-sham UMD +* Update `chai`, `es5-shim`, `grunt-saucelabs`, `jscs` + +# es6-shim 0.21.0 (21 Nov 2014) +* String#contains → String#includes per 2014-11-19 TC39 meeting +* Use an invalid identifier as the es6-shim iterator key, so it doesn’t show up in the console as easily. + +# es6-shim 0.20.4 (20 Nov 2014) +* Performance improvements: avoid slicing arguments, avoid `Function#call` when possible +* Name `String.{fromCodePoint,raw}` for debugging +* Fix `String.raw` to match spec +* Ensure Chrome’s excess Promise methods are purged +* Ensure `Set#keys === Set#values`, per spec + +# es6-shim 0.20.3 (19 Nov 2014) +* Fix Set#add and Map#set to always return "this" (#302) +* Clarify TypeError messages thrown by Map/Set +* Fix Chrome 38 bug with Array#values + +# es6-shim 0.20.2 (28 Oct 2014) +* Fix AMD (#299) + +# es6-shim 0.20.1 (27 Oct 2014) +* Set#delete and Map#delete should return false unless a deletion occurred. (#298) + +# es6-shim 0.20.0 (26 Oct 2014) +* Use a more reliable UMD +* export the global object rather than undefined + +# es6-shim 0.19.2 (25 Oct 2014) +* Set#delete and Map#delete should return a boolean indicating success. (#298) +* Make style consistent; add jscs + +# es6-shim 0.19.1 (14 Oct 2014) +* Fix Map#set and Set#add to be chainable (#295) +* Update mocha + +# es6-shim 0.19.0 (9 Oct 2014) +* Detect and override noncompliant Map in Firefox 32 (#294) +* Fix Map and Set for engines that don’t preserve numeric key order (#292, #290) +* Detect and override noncompliant Safari 7.1 Promises (#289) +* Fix Array#keys and Array#entries in Safari 7.1 +* General style and whitespace cleanup +* Update dependencies +* Clean up tests for ES3 by removing reserved words + # es6-shim 0.18.0 (6 Sep 2014) * Speed up String#trim replacement (#284) * named Array#find and Array#findIndex for easier debugging @@ -30,9 +100,9 @@ # es6-shim 0.14.0 (20 Jul 2014) * Properly recognize Symbol.iterator when it is present (#277) -* Fix Math.clz's improper handling of values that coerce to NaN (#269) +* Fix Math.clz’s improper handling of values that coerce to NaN (#269) * Fix incorrect handling of negative end index on Array#fill (#270) -* Removed Object.getOwnPropertyKeys, which shouldn't be anywhere (#267) +* Removed Object.getOwnPropertyKeys, which shouldn’t be anywhere (#267) * Fixed arity of Map and Set constructors, per 2014.04.27 draft spec (rev 24) * Added a full additional suite of ES6 promise tests (thanks to @smikes!) (#265) * Make Number.isInteger a bit more efficient (#266) @@ -65,7 +135,7 @@ # es6-shim 0.10.1 (13 Mar 2014) * Update bower.json, component.json, and .npmignore (#229, #230, #233) * Minor updates to `Promise` implementation and test suite. -* Workaround lack of 'strict mode' in IE9. (#232) +* Workaround lack of "strict mode" in IE9. (#232) # es6-shim 0.10.0 (1 March 2014) * Implement `Promise`, per spec. (#209, #215, #224, #225) diff --git a/js/vendor/es6-shim/Gruntfile.js b/js/vendor/es6-shim/Gruntfile.js index 73e25feb0..6df7ca70b 100644 --- a/js/vendor/es6-shim/Gruntfile.js +++ b/js/vendor/es6-shim/Gruntfile.js @@ -1,4 +1,4 @@ -module.exports = function(grunt) { +module.exports = function (grunt) { var browsers = [ { browserName: "firefox", version: "19", platform: "XP" }, { browserName: "firefox", platform: "linux" }, @@ -42,13 +42,13 @@ module.exports = function(grunt) { 'saucelabs-mocha': { all: { options: { - urls: (function() { - var urls = ["http://localhost:9999/test/"]; - if (grunt.option('extra')) { - urls.push("http://localhost:9999/test-sham/"); - } - return urls; - })(), + urls: (function () { + var urls = ["http://localhost:9999/test/"]; + if (grunt.option('extra')) { + urls.push("http://localhost:9999/test-sham/"); + } + return urls; + }()), //tunnelTimeout: 5, build: process.env.TRAVIS_BUILD_NUMBER, tunneled: !process.env.SAUCE_HAS_TUNNEL, @@ -58,7 +58,7 @@ module.exports = function(grunt) { }, //concurrency: 3, browsers: browsers, - testname: (function() { + testname: (function () { var testname = "mocha"; if (process.env.TRAVIS_PULL_REQUEST && process.env.TRAVIS_PULL_REQUEST !== 'false') { @@ -70,7 +70,7 @@ module.exports = function(grunt) { } return testname; })(), - tags: (function() { + tags: (function () { var tags = []; if (process.env.TRAVIS_PULL_REQUEST && process.env.TRAVIS_PULL_REQUEST !== 'false') { diff --git a/js/vendor/es6-shim/README.md b/js/vendor/es6-shim/README.md index 7d08f3525..f11b72d17 100644 --- a/js/vendor/es6-shim/README.md +++ b/js/vendor/es6-shim/README.md @@ -36,7 +36,11 @@ details. * `repeat()` ([a standalone shim is also available](http://mths.be/repeat)) * `startsWith()` ([a standalone shim is also available](http://mths.be/startswith)) * `endsWith()` ([a standalone shim is also available](http://mths.be/endswith)) - * `contains()` ([a standalone shim is also available](http://mths.be/contains)) + * `includes()` ([a standalone shim is also available](http://mths.be/includes)) +* `RegExp`: + * `new RegExp`, when given a RegExp as the pattern, will no longer throw when given a "flags" string argument. (requires ES5) +* `RegExp.prototype`: + * `flags` (requires ES5) ([a standalone shim is also available](https://github.com/es-shims/RegExp.prototype.flags)) * `Number`: * `MAX_SAFE_INTEGER` * `MIN_SAFE_INTEGER` @@ -59,10 +63,7 @@ details. * `entries()` * `values()` * `Object`: - * `getPropertyDescriptor()` (ES5) - * `getPropertyNames()` (ES5) - * `getPropertyKeys()` (ES5) - * `keys()` (ES5, but no longer throws on non-object non-null/undefined values in ES6) + * `keys()` (in ES5, but no longer throws on non-object non-null/undefined values in ES6) * `is()` ([a standalone shim is also available](https://github.com/ljharb/object-is)) * `assign()` ([a standalone shim is also available](https://github.com/ljharb/object.assign)) * `setPrototypeOf()` (IE >= 11) @@ -126,7 +127,7 @@ WeakMap has a very unusual use-case so you probably won't need it at all ```javascript 'abc'.startsWith('a') // true 'abc'.endsWith('a') // false -'john alice'.contains('john') // true +'john alice'.includes('john') // true '123'.repeat(2) // '123123' Object.is(NaN, NaN) // Fixes ===. 0 isnt -0, NaN is NaN @@ -140,8 +141,8 @@ Number.isInteger(2.4) // false. Math.sign(400) // 1, 0 or -1 depending on sign. In this case 1. -[5, 10, 15, 10].find(function(item) {return item / 2 === 5;}) // 10 -[5, 10, 15, 10].findIndex(function(item) {return item / 2 === 5;}) // 1 +[5, 10, 15, 10].find(function (item) {return item / 2 === 5;}) // 10 +[5, 10, 15, 10].findIndex(function (item) {return item / 2 === 5;}) // 1 // Replacement for `{}` key-value storage. // Keys can be anything. @@ -166,20 +167,15 @@ set.delete(5) // Promises, see // http://www.slideshare.net/domenicdenicola/callbacks-promises-and-coroutines-oh-my-the-evolution-of-asynchronicity-in-javascript // https://github.com/petkaantonov/bluebird/#what-are-promises-and-why-should-i-use-them -Promise.resolve(5).then(function(value) { +Promise.resolve(5).then(function (value) { if ( ... ) throw new Error("whoops!"); // do some stuff return anotherPromise(); -}).catch(function(e) { +}).catch(function (e) { // any errors thrown asynchronously end up here }); ``` -Note that the ES6 `Promise` specification includes very few methods. -For a more useful set of utility methods -(`map`/`reduce`/`bind`/`guard`/etc), you might want to look into the -[`prfun`](https://github.com/cscott/prfun) package. - Other stuff: * [ECMAScript 6 drafts](http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts) diff --git a/js/vendor/es6-shim/bower.json b/js/vendor/es6-shim/bower.json index a6a3d156e..426d2618f 100644 --- a/js/vendor/es6-shim/bower.json +++ b/js/vendor/es6-shim/bower.json @@ -1,7 +1,7 @@ { "name": "es6-shim", + "version": "0.23.0", "repo": "paulmillr/es6-shim", - "version": "0.18.0", "description": "ECMAScript 6 (Harmony) compatibility shims for legacy JavaScript engines", "keywords": [ "ecmascript", diff --git a/js/vendor/es6-shim/component.json b/js/vendor/es6-shim/component.json index dce105fd8..fee8fd913 100644 --- a/js/vendor/es6-shim/component.json +++ b/js/vendor/es6-shim/component.json @@ -1,7 +1,7 @@ { "name": "es6-shim", + "version": "0.23.0", "repo": "paulmillr/es6-shim", - "version": "0.18.0", "description": "ECMAScript 6 (Harmony) compatibility shims for legacy JavaScript engines", "keywords": [ "ecmascript", diff --git a/js/vendor/es6-shim/es6-sham.js b/js/vendor/es6-shim/es6-sham.js index 32fadd25c..fe67bfd45 100644 --- a/js/vendor/es6-shim/es6-sham.js +++ b/js/vendor/es6-shim/es6-sham.js @@ -1,106 +1,119 @@ -// ES6-shim 0.18.0 (c) 2013-2014 Paul Miller (http://paulmillr.com) -// ES6-shim may be freely distributed under the MIT license. -// For more details and documentation: -// https://github.com/paulmillr/es6-shim/ + /*! + * https://github.com/paulmillr/es6-shim + * @license es6-shim Copyright 2013-2014 by Paul Miller (http://paulmillr.com) + * and contributors, MIT License + * es6-sham: v0.23.0 + * see https://github.com/paulmillr/es6-shim/blob/0.22.2/LICENSE + * Details and documentation: + * https://github.com/paulmillr/es6-shim/ + */ -(function (undefined) { +// UMD (Universal Module Definition) +// see https://github.com/umdjs/umd/blob/master/returnExports.js +(function (root, factory) { + /*global define, exports, module */ + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(factory); + } else if (typeof exports === 'object') { + // Node. Does not work with strict CommonJS, but + // only CommonJS-like enviroments that support module.exports, + // like Node. + module.exports = factory(); + } else { + // Browser globals (root is window) + root.returnExports = factory(); + } +}(this, function (undefined) { 'use strict'; /*jshint evil: true */ var getGlobal = new Function('return this;'); /*jshint evil: false */ - var main = function () { - var globals = getGlobal(); - var Object = globals.Object; + var globals = getGlobal(); + var Object = globals.Object; - // NOTE: This versions needs object ownership - // beacuse every promoted object needs to be reassigned - // otherwise uncompatible browsers cannot work as expected - // - // NOTE: This might need es5-shim or polyfills upfront - // because it's based on ES5 API. - // (probably just an IE <= 8 problem) - // - // NOTE: nodejs is fine in version 0.8, 0.10 and future versions. - if (!Object.setPrototypeOf) (function () { - /*jshint proto: true */ - // @author Andrea Giammarchi - @WebReflection - // define into target descriptors from source - var copyDescriptors = function (target, source) { - getOwnPropertyNames(source).forEach(function (key) { - defineProperty( - target, - key, - getOwnPropertyDescriptor(source, key) - ); - }); - return target; - }; - // used as fallback when no promotion is possible - var createAndCopy = function (origin, proto) { - return copyDescriptors(create(proto), origin); - }; - var create = Object.create; - var defineProperty = Object.defineProperty; - var getPrototypeOf = Object.getPrototypeOf; - var getOwnPropertyNames = Object.getOwnPropertyNames; - var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - var proto = Object.prototype; - var set, setPrototypeOf; + // NOTE: This versions needs object ownership + // beacuse every promoted object needs to be reassigned + // otherwise uncompatible browsers cannot work as expected + // + // NOTE: This might need es5-shim or polyfills upfront + // because it's based on ES5 API. + // (probably just an IE <= 8 problem) + // + // NOTE: nodejs is fine in version 0.8, 0.10, and future versions. + (function () { + if (Object.setPrototypeOf) { return; } - try { - // this might fail for various reasons - // ignore if Chrome cought it at runtime - set = getOwnPropertyDescriptor(proto, '__proto__').set; - set.call({}, null); - // setter not poisoned, it can promote - // Firefox, Chrome - setPrototypeOf = function (origin, proto) { - set.call(origin, proto); - return origin; - }; - } catch (e) { - // do one or more feature detections - set = {__proto__: null}; - // if proto does not work, needs to fallback - // some Opera, Rhino, ducktape + /*jshint proto: true */ + // @author Andrea Giammarchi - @WebReflection + // define into target descriptors from source + var copyDescriptors = function (target, source) { + getOwnPropertyNames(source).forEach(function (key) { + defineProperty( + target, + key, + getOwnPropertyDescriptor(source, key) + ); + }); + return target; + }; + // used as fallback when no promotion is possible + var createAndCopy = function (origin, proto) { + return copyDescriptors(create(proto), origin); + }; + var create = Object.create; + var defineProperty = Object.defineProperty; + var getPrototypeOf = Object.getPrototypeOf; + var getOwnPropertyNames = Object.getOwnPropertyNames; + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var proto = Object.prototype; + var set, setPrototypeOf; + try { + // this might fail for various reasons + // ignore if Chrome cought it at runtime + set = getOwnPropertyDescriptor(proto, '__proto__').set; + set.call({}, null); + // setter not poisoned, it can promote + // Firefox, Chrome + setPrototypeOf = function (origin, proto) { + set.call(origin, proto); + return origin; + }; + } catch (e) { + // do one or more feature detections + set = {__proto__: null}; + // if proto does not work, needs to fallback + // some Opera, Rhino, ducktape + if (set instanceof Object) { + setPrototypeOf = createAndCopy; + } else { + // verify if null objects are buggy + set.__proto__ = proto; + // if null objects are buggy + // nodejs 0.8 to 0.10 if (set instanceof Object) { - setPrototypeOf = createAndCopy; + setPrototypeOf = function (origin, proto) { + // use such bug to promote + origin.__proto__ = proto; + return origin; + }; } else { - // verify if null objects are buggy - set.__proto__ = proto; - // if null objects are buggy - // nodejs 0.8 to 0.10 - if (set instanceof Object) { - setPrototypeOf = function (origin, proto) { - // use such bug to promote - origin.__proto__ = proto; - return origin; - }; - } else { - // try to use proto or fallback - // Safari, old Firefox, many others - setPrototypeOf = function (origin, proto) { - // if proto is not null - return getPrototypeOf(origin) ? - // use __proto__ to promote - ((origin.__proto__ = proto), origin) : - // otherwise unable to promote: fallback - createAndCopy(origin, proto); - }; - } + // try to use proto or fallback + // Safari, old Firefox, many others + setPrototypeOf = function (origin, proto) { + // if proto is not null + return getPrototypeOf(origin) ? + // use __proto__ to promote + ((origin.__proto__ = proto), origin) : + // otherwise unable to promote: fallback + createAndCopy(origin, proto); + }; } } - Object.setPrototypeOf = setPrototypeOf; - }()); - - }; - - if (typeof define === 'function' && define.amd) { - define(main); // RequireJS - } else { - main(); // CommonJS and <script> - } -}()); + } + Object.setPrototypeOf = setPrototypeOf; + }()); +})); diff --git a/js/vendor/es6-shim/es6-sham.map b/js/vendor/es6-shim/es6-sham.map index d3878f544..f00976574 100644 --- a/js/vendor/es6-shim/es6-sham.map +++ b/js/vendor/es6-shim/es6-sham.map @@ -1 +1 @@ -{"version":3,"sources":["es6-sham.js"],"names":["undefined","getGlobal","Function","main","globals","Object","setPrototypeOf","copyDescriptors","target","source","getOwnPropertyNames","forEach","key","defineProperty","getOwnPropertyDescriptor","createAndCopy","origin","proto","create","getPrototypeOf","prototype","set","call","e","__proto__","define","amd"],"mappings":"CAKC,SAAUA,GACT,YAGA,IAAIC,GAAY,GAAIC,UAAS,eAG7B,IAAIC,GAAO,WACT,GAAIC,GAAUH,GACd,IAAII,GAASD,EAAQC,MAWrB,KAAKA,EAAOC,gBAAiB,WAI3B,GAAIC,GAAkB,SAAUC,EAAQC,GACtCC,EAAoBD,GAAQE,QAAQ,SAAUC,GAC5CC,EACEL,EACAI,EACAE,EAAyBL,EAAQG,KAGrC,OAAOJ,GAGT,IAAIO,GAAgB,SAAUC,EAAQC,GACpC,MAAOV,GAAgBW,EAAOD,GAAQD,GAExC,IAAIE,GAASb,EAAOa,MACpB,IAAIL,GAAiBR,EAAOQ,cAC5B,IAAIM,GAAiBd,EAAOc,cAC5B,IAAIT,GAAsBL,EAAOK,mBACjC,IAAII,GAA2BT,EAAOS,wBACtC,IAAIG,GAAQZ,EAAOe,SACnB,IAAIC,GAAKf,CAET,KAGEe,EAAMP,EAAyBG,EAAO,aAAaI,GACnDA,GAAIC,QAAS,KAGbhB,GAAiB,SAAUU,EAAQC,GACjCI,EAAIC,KAAKN,EAAQC,EACjB,OAAOD,IAET,MAAOO,GAEPF,GAAOG,UAAW,KAGlB,IAAIH,YAAehB,GAAQ,CACzBC,EAAiBS,MACZ,CAELM,EAAIG,UAAYP,CAGhB,IAAII,YAAehB,GAAQ,CACzBC,EAAiB,SAAUU,EAAQC,GAEjCD,EAAOQ,UAAYP,CACnB,OAAOD,QAEJ,CAGLV,EAAiB,SAAUU,EAAQC,GAEjC,MAAOE,GAAeH,IAElBA,EAAOQ,UAAYP,EAAQD,GAE7BD,EAAcC,EAAQC,MAKhCZ,EAAOC,eAAiBA,MAK5B,UAAWmB,UAAW,YAAcA,OAAOC,IAAK,CAC9CD,OAAOtB,OACF,CACLA"}
\ No newline at end of file +{"version":3,"sources":["es6-sham.js"],"names":["root","factory","define","amd","exports","module","returnExports","this","undefined","getGlobal","Function","globals","Object","setPrototypeOf","copyDescriptors","target","source","getOwnPropertyNames","forEach","key","defineProperty","getOwnPropertyDescriptor","createAndCopy","origin","proto","create","getPrototypeOf","prototype","set","call","e","__proto__"],"mappings":";;;;;;;;;CAYC,SAAUA,EAAMC,GAEf,SAAWC,UAAW,YAAcA,OAAOC,IAAK,CAE9CD,OAAOD,OACF,UAAWG,WAAY,SAAU,CAItCC,OAAOD,QAAUH,QACZ,CAELD,EAAKM,cAAgBL,OAEvBM,KAAM,SAAUC,GAChB,YAGA,IAAIC,GAAY,GAAIC,UAAS,eAG7B,IAAIC,GAAUF,GACd,IAAIG,GAASD,EAAQC,QAWpB,WACC,GAAIA,EAAOC,eAAgB,CAAE,OAK7B,GAAIC,GAAkB,SAAUC,EAAQC,GACtCC,EAAoBD,GAAQE,QAAQ,SAAUC,GAC5CC,EACEL,EACAI,EACAE,EAAyBL,EAAQG,KAGrC,OAAOJ,GAGT,IAAIO,GAAgB,SAAUC,EAAQC,GACpC,MAAOV,GAAgBW,EAAOD,GAAQD,GAExC,IAAIE,GAASb,EAAOa,MACpB,IAAIL,GAAiBR,EAAOQ,cAC5B,IAAIM,GAAiBd,EAAOc,cAC5B,IAAIT,GAAsBL,EAAOK,mBACjC,IAAII,GAA2BT,EAAOS,wBACtC,IAAIG,GAAQZ,EAAOe,SACnB,IAAIC,GAAKf,CACT,KAGEe,EAAMP,EAAyBG,EAAO,aAAaI,GACnDA,GAAIC,QAAS,KAGbhB,GAAiB,SAAUU,EAAQC,GACjCI,EAAIC,KAAKN,EAAQC,EACjB,OAAOD,IAET,MAAOO,GAEPF,GAAOG,UAAW,KAGlB,IAAIH,YAAehB,GAAQ,CACzBC,EAAiBS,MACZ,CAELM,EAAIG,UAAYP,CAGhB,IAAII,YAAehB,GAAQ,CACzBC,EAAiB,SAAUU,EAAQC,GAEjCD,EAAOQ,UAAYP,CACnB,OAAOD,QAEJ,CAGLV,EAAiB,SAAUU,EAAQC,GAEjC,MAAOE,GAAeH,IAElBA,EAAOQ,UAAYP,EAAQD,GAE7BD,EAAcC,EAAQC,MAKhCZ,EAAOC,eAAiBA"}
\ No newline at end of file diff --git a/js/vendor/es6-shim/es6-sham.min.js b/js/vendor/es6-shim/es6-sham.min.js index 47e04c644..6ad81ae68 100644 --- a/js/vendor/es6-shim/es6-sham.min.js +++ b/js/vendor/es6-shim/es6-sham.min.js @@ -1,2 +1,11 @@ -(function(t){"use strict";var r=new Function("return this;");var e=function(){var t=r();var e=t.Object;if(!e.setPrototypeOf)(function(){var t=function(t,r){i(r).forEach(function(e){o(t,e,a(r,e))});return t};var r=function(r,e){return t(n(e),r)};var n=e.create;var o=e.defineProperty;var f=e.getPrototypeOf;var i=e.getOwnPropertyNames;var a=e.getOwnPropertyDescriptor;var c=e.prototype;var u,_;try{u=a(c,"__proto__").set;u.call({},null);_=function(t,r){u.call(t,r);return t}}catch(p){u={__proto__:null};if(u instanceof e){_=r}else{u.__proto__=c;if(u instanceof e){_=function(t,r){t.__proto__=r;return t}}else{_=function(t,e){return f(t)?(t.__proto__=e,t):r(t,e)}}}}e.setPrototypeOf=_})()};if(typeof define==="function"&&define.amd){define(e)}else{e()}})(); +/*! + * https://github.com/paulmillr/es6-shim + * @license es6-shim Copyright 2013-2014 by Paul Miller (http://paulmillr.com) + * and contributors, MIT License + * es6-sham: v0.23.0 + * see https://github.com/paulmillr/es6-shim/blob/0.22.2/LICENSE + * Details and documentation: + * https://github.com/paulmillr/es6-shim/ + */ +(function(t,e){if(typeof define==="function"&&define.amd){define(e)}else if(typeof exports==="object"){module.exports=e()}else{t.returnExports=e()}})(this,function(t){"use strict";var e=new Function("return this;");var r=e();var n=r.Object;(function(){if(n.setPrototypeOf){return}var t=function(t,e){i(e).forEach(function(r){o(t,r,c(e,r))});return t};var e=function(e,n){return t(r(n),e)};var r=n.create;var o=n.defineProperty;var f=n.getPrototypeOf;var i=n.getOwnPropertyNames;var c=n.getOwnPropertyDescriptor;var u=n.prototype;var a,_;try{a=c(u,"__proto__").set;a.call({},null);_=function(t,e){a.call(t,e);return t}}catch(p){a={__proto__:null};if(a instanceof n){_=e}else{a.__proto__=u;if(a instanceof n){_=function(t,e){t.__proto__=e;return t}}else{_=function(t,r){return f(t)?(t.__proto__=r,t):e(t,r)}}}}n.setPrototypeOf=_})()}); //# sourceMappingURL=es6-sham.map
\ No newline at end of file diff --git a/js/vendor/es6-shim/es6-shim.js b/js/vendor/es6-shim/es6-shim.js index 5ac65e8c7..888bec378 100644 --- a/js/vendor/es6-shim/es6-shim.js +++ b/js/vendor/es6-shim/es6-shim.js @@ -1,21 +1,45 @@ -// ES6-shim 0.18.0 (c) 2013-2014 Paul Miller (http://paulmillr.com) -// ES6-shim may be freely distributed under the MIT license. -// For more details and documentation: -// https://github.com/paulmillr/es6-shim/ - -(function(undefined) { + /*! + * https://github.com/paulmillr/es6-shim + * @license es6-shim Copyright 2013-2014 by Paul Miller (http://paulmillr.com) + * and contributors, MIT License + * es6-shim: v0.23.0 + * see https://github.com/paulmillr/es6-shim/blob/0.22.2/LICENSE + * Details and documentation: + * https://github.com/paulmillr/es6-shim/ + */ + +// UMD (Universal Module Definition) +// see https://github.com/umdjs/umd/blob/master/returnExports.js +(function (root, factory) { + /*global define, module, exports */ + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(factory); + } else if (typeof exports === 'object') { + // Node. Does not work with strict CommonJS, but + // only CommonJS-like enviroments that support module.exports, + // like Node. + module.exports = factory(); + } else { + // Browser globals (root is window) + root.returnExports = factory(); + } +}(this, function () { 'use strict'; - var isCallableWithoutNew = function(func) { - try { func(); } - catch (e) { return false; } + var isCallableWithoutNew = function (func) { + try { + func(); + } catch (e) { + return false; + } return true; }; - var supportsSubclassing = function(C, f) { + var supportsSubclassing = function (C, f) { /* jshint proto:true */ try { - var Sub = function() { C.apply(this, arguments); }; + var Sub = function () { C.apply(this, arguments); }; if (!Sub.__proto__) { return false; /* skip test on IE < 11 */ } Object.setPrototypeOf(Sub, C); Sub.prototype = Object.create(C.prototype, { @@ -27,7 +51,7 @@ } }; - var arePropertyDescriptorsSupported = function() { + var arePropertyDescriptorsSupported = function () { try { Object.defineProperty({}, 'x', {}); return true; @@ -36,7 +60,7 @@ } }; - var startsWithRejectsRegex = function() { + var startsWithRejectsRegex = function () { var rejectsRegex = false; if (String.prototype.startsWith) { try { @@ -52,1306 +76,1449 @@ var getGlobal = new Function('return this;'); /*jshint evil: false */ - var main = function() { - var globals = getGlobal(); - var global_isFinite = globals.isFinite; - var supportsDescriptors = !!Object.defineProperty && arePropertyDescriptorsSupported(); - var startsWithIsCompliant = startsWithRejectsRegex(); - var _slice = Array.prototype.slice; - var _indexOf = String.prototype.indexOf; - var _toString = Object.prototype.toString; - var _hasOwnProperty = Object.prototype.hasOwnProperty; - var ArrayIterator; // make our implementation private - - var defineProperty = function(object, name, value, force) { - if (!force && name in object) return; - if (supportsDescriptors) { - Object.defineProperty(object, name, { - configurable: true, - enumerable: false, - writable: true, - value: value - }); - } else { - object[name] = value; - } - }; + var globals = getGlobal(); + var global_isFinite = globals.isFinite; + var supportsDescriptors = !!Object.defineProperty && arePropertyDescriptorsSupported(); + var startsWithIsCompliant = startsWithRejectsRegex(); + var _indexOf = Function.call.bind(String.prototype.indexOf); + var _toString = Function.call.bind(Object.prototype.toString); + var _hasOwnProperty = Function.call.bind(Object.prototype.hasOwnProperty); + var ArrayIterator; // make our implementation private + var noop = function () {}; + + var Symbol = globals.Symbol || {}; + var symbolSpecies = Symbol.species || '@@species'; + var Type = { + string: function (x) { return _toString(x) === '[object String]'; }, + regex: function (x) { return _toString(x) === '[object RegExp]'; }, + symbol: function (x) { + /*jshint notypeof: true */ + return typeof globals.Symbol === 'function' && typeof x === 'symbol'; + /*jshint notypeof: false */ + } + }; - // Define configurable, writable and non-enumerable props - // if they don’t exist. - var defineProperties = function(object, map) { - Object.keys(map).forEach(function(name) { - var method = map[name]; - defineProperty(object, name, method, false); + var defineProperty = function (object, name, value, force) { + if (!force && name in object) { return; } + if (supportsDescriptors) { + Object.defineProperty(object, name, { + configurable: true, + enumerable: false, + writable |