Skip to content

Commit a64777e

Browse files
committed
Add es5-shim to dev dependencies
This fixes glittershark#50
1 parent 2689adf commit a64777e

File tree

11 files changed

+44
-17
lines changed

11 files changed

+44
-17
lines changed

bower.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"devDependencies": {
99
"chai-jquery": "~1.2.1",
1010
"jquery": "~2.1.0",
11-
"chai": "~1.9.1"
11+
"chai": "~1.9.1",
12+
"es5-shim": "~4.0.2"
1213
}
1314
}

bower_components/es5-shim/.bower.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "es5-shim",
3-
"version": "4.0.1",
3+
"version": "4.0.2",
44
"main": "es5-shim.js",
55
"repository": {
66
"type": "git",
@@ -32,14 +32,14 @@
3232
"bower_components",
3333
"tests"
3434
],
35-
"_release": "4.0.1",
35+
"_release": "4.0.2",
3636
"_resolution": {
3737
"type": "version",
38-
"tag": "v4.0.1",
39-
"commit": "734e4dd80a1e4cbbd3bb6947c79084e86cb1793b"
38+
"tag": "v4.0.2",
39+
"commit": "99f751509dcd30790ea38a30fce755671e9fb413"
4040
},
4141
"_source": "git://github.com/es-shims/es5-shim.git",
42-
"_target": "~4.0.1",
42+
"_target": "~4.0.2",
4343
"_originalSource": "es5-shim",
4444
"_direct": true
4545
}

bower_components/es5-shim/CHANGES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
4.0.2
2+
- Start including version numbers in minified files (#267)
3+
14
4.0.1
25
- Fix legacy arguments object detection in Object.keys (#260)
36

bower_components/es5-shim/Makefile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
.PHONY: verify-tag verify-changes release
3+
4+
default: release
5+
6+
verify-tag:
7+
ifndef TAG
8+
$(error TAG is undefined)
9+
endif
10+
11+
CHANGES_ERROR = $(error No CHANGES specified)
12+
13+
verify-changes:
14+
@ (git status -sb --porcelain | grep -e ' M CHANGES' > /dev/null) || (echo no CHANGES specified && exit 2)
15+
16+
release: verify-changes verify-tag
17+
@ OLD_TAG=`git describe --abbrev=0 --tags` && \
18+
npm run minify && \
19+
replace "$${OLD_TAG/v/}" "$(TAG)" -- *.min.js *.json README.md && \
20+
replace "blob/master" "blob/v$(TAG)" -- *.min.js && \
21+
git commit -m "v$(TAG)" *.js *.map *.json README.md CHANGES && \
22+
git tag "v$(TAG)"
23+

bower_components/es5-shim/bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "es5-shim",
3-
"version": "4.0.1",
3+
"version": "4.0.2",
44
"main": "es5-shim.js",
55
"repository": {
66
"type": "git",

bower_components/es5-shim/component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "es5-shim",
33
"repo": "es-shims/es5-shim",
44
"description": "ECMAScript 5 compatibility shims for legacy JavaScript engines",
5-
"version": "v4.0.1",
5+
"version": "v4.0.2",
66
"keywords": [
77
"shim",
88
"es5",

bower_components/es5-shim/es5-sham.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower_components/es5-shim/es5-shim.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var ObjectPrototype = Object.prototype;
4242
var FunctionPrototype = Function.prototype;
4343
var StringPrototype = String.prototype;
4444
var NumberPrototype = Number.prototype;
45-
var _Array_slice_ = ArrayPrototype.slice;
45+
var array_slice = ArrayPrototype.slice;
4646
var array_splice = ArrayPrototype.splice;
4747
var array_push = ArrayPrototype.push;
4848
var array_unshift = ArrayPrototype.unshift;
@@ -199,7 +199,7 @@ defineProperties(FunctionPrototype, {
199199
// 3. Let A be a new (possibly empty) internal list of all of the
200200
// argument values provided after thisArg (arg1, arg2 etc), in order.
201201
// XXX slicedArgs will stand in for "A" if used
202-
var args = _Array_slice_.call(arguments, 1); // for normal call
202+
var args = array_slice.call(arguments, 1); // for normal call
203203
// 4. Let F be a new native ECMAScript object.
204204
// 11. Set the [[Prototype]] internal property of F to the standard
205205
// built-in Function prototype object as specified in 15.3.3.1.
@@ -230,7 +230,7 @@ defineProperties(FunctionPrototype, {
230230

231231
var result = target.apply(
232232
this,
233-
args.concat(_Array_slice_.call(arguments))
233+
args.concat(array_slice.call(arguments))
234234
);
235235
if (Object(result) === result) {
236236
return result;
@@ -259,7 +259,7 @@ defineProperties(FunctionPrototype, {
259259
// equiv: target.call(this, ...boundArgs, ...args)
260260
return target.apply(
261261
that,
262-
args.concat(_Array_slice_.call(arguments))
262+
args.concat(array_slice.call(arguments))
263263
);
264264

265265
}
@@ -372,7 +372,7 @@ defineProperties(ArrayPrototype, {
372372
var args = arguments;
373373
this.length = Math.max(toInteger(this.length), 0);
374374
if (arguments.length > 0 && typeof deleteCount !== 'number') {
375-
args = _Array_slice_.call(arguments);
375+
args = array_slice.call(arguments);
376376
if (args.length < 2) {
377377
args.push(this.length - start);
378378
} else {

bower_components/es5-shim/es5-shim.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)