Add es6-shim as polyfill and minify underscore.js

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-11-06 17:49:22 +01:00
parent c26d847d19
commit 2ba519a5d4
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
9 changed files with 104 additions and 4073 deletions

View File

@ -20,7 +20,6 @@
"bootstrap": "3.3.7",
"clipboard": "1.7.1",
"davclient.js": "https://github.com/evert/davclient.js.git#0.1.2",
"es6-promise": "https://github.com/jakearchibald/es6-promise.git#2.3.0",
"handlebars": "4.0.5",
"jcrop": "0.9.12",
"jquery": "2.1.4",
@ -33,6 +32,7 @@
"snapjs": "2.0.0-rc1",
"strengthify": "0.5.5",
"underscore": "1.8.3",
"zxcvbn": "4.4.2"
"zxcvbn": "4.4.2",
"es6-shim": "^0.35.4"
}
}

View File

@ -3,13 +3,13 @@
"jquery/dist/jquery.min.js",
"jquery-migrate/jquery-migrate.min.js",
"jquery-ui/ui/minified/jquery-ui.custom.min.js",
"underscore/underscore.js",
"underscore/underscore-min.js",
"moment/min/moment-with-locales.min.js",
"handlebars/handlebars.min.js",
"blueimp-md5/js/md5.min.js",
"bootstrap/js/tooltip.js",
"backbone/backbone.js",
"es6-promise/dist/es6-promise.js",
"es6-shim/es6-shim.min.js",
"davclient.js/lib/client.js",
"clipboard/dist/clipboard.min.js",
"autosize/dist/autosize.min.js",

View File

@ -16,7 +16,7 @@ README*
# underscore
underscore/**
!underscore/.bower.json
!underscore/underscore.js
!underscore/underscore-min.js
!underscore/LICENSE
# blueimp-md5
@ -135,13 +135,11 @@ davclient.js/**
!davclient.js/lib/client.js
!davclient.js/LICENSE
# es6-promise
es6-promise/**
!es6-promise/.bower.json
!es6-promise/LICENSE
!es6-promise/dist
es6-promise/dist/*
!es6-promise/dist/es6-promise.js
# es6-shim
es6-shim/**
!es6-shim/.bower.json
!es6-shim/LICENSE
!es6-shim/es6-shim.min.js
# base64
base64/*min.js

2523
core/vendor/core.js vendored

File diff suppressed because one or more lines are too long

40
core/vendor/es6-shim/.bower.json vendored Normal file
View File

@ -0,0 +1,40 @@
{
"name": "es6-shim",
"repo": "paulmillr/es6-shim",
"description": "ECMAScript 6 (Harmony) compatibility shims for legacy JavaScript engines",
"keywords": [
"ecmascript",
"harmony",
"es6",
"shim",
"promise",
"promises",
"setPrototypeOf",
"map",
"set",
"__proto__"
],
"main": "es6-shim.js",
"scripts": [
"es6-shim.js"
],
"dependencies": {},
"development": {},
"ignore": [
"**/.*",
"node_modules",
"components",
"test"
],
"homepage": "https://github.com/paulmillr/es6-shim",
"version": "0.35.4",
"_release": "0.35.4",
"_resolution": {
"type": "version",
"tag": "0.35.4",
"commit": "271142ca5c58b7bfec6970b1c070515da0d8ef98"
},
"_source": "https://github.com/paulmillr/es6-shim.git",
"_target": "^0.35.4",
"_originalSource": "es6-shim"
}

26
core/vendor/es6-shim/LICENSE vendored Normal file
View File

@ -0,0 +1,26 @@
The project was initially based on [es6-shim by Axel Rauschmayer](https://github.com/rauschma/es6-shim).
Current maintainers are: [Paul Miller](http://paulmillr.com), [Jordan Harband](https://github.com/ljharb), and [C. Scott Ananian](http://cscott.net).
The MIT License (MIT)
Copyright (c) 2013-2016 Paul Miller (http://paulmillr.com) and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

12
core/vendor/es6-shim/es6-shim.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff