Skip to content

Commit

Permalink
Add es6-shim as polyfill and minify underscore.js
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Nov 6, 2018
1 parent e03bc6e commit dcbcf43
Show file tree
Hide file tree
Showing 9 changed files with 2,616 additions and 6,585 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
}
}
4 changes: 2 additions & 2 deletions core/js/core.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 6 additions & 8 deletions core/vendor/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ README*
# underscore
underscore/**
!underscore/.bower.json
!underscore/underscore.js
!underscore/underscore-min.js
!underscore/LICENSE

# blueimp-md5
Expand Down Expand Up @@ -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
Expand Down
7,547 changes: 2,522 additions & 5,025 deletions core/vendor/core.js

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions core/vendor/es6-shim/.bower.json
Original file line number Diff line number Diff line change
@@ -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 changes: 26 additions & 0 deletions core/vendor/es6-shim/LICENSE
Original file line number Diff line number Diff line change
@@ -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 changes: 12 additions & 0 deletions core/vendor/es6-shim/es6-shim.min.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions core/vendor/underscore/underscore-min.js

Large diffs are not rendered by default.

Loading

0 comments on commit dcbcf43

Please sign in to comment.