Skip to content

Commit 3a8aa84

Browse files
Bumped version to 2.2.1
1 parent 04111a3 commit 3a8aa84

5 files changed

Lines changed: 16 additions & 10 deletions

File tree

dist/cash.esm.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ var doc = document,
99
map = _Array$prototype.map,
1010
push = _Array$prototype.push,
1111
reverse = _Array$prototype.reverse,
12-
slice = _Array$prototype.slice;
12+
slice = _Array$prototype.slice,
13+
splice = _Array$prototype.splice;
1314
var idRe = /^#[\w-]*$/,
1415
classRe = /^\.[\w-]*$/,
1516
htmlRe = /<.+>/,
@@ -54,7 +55,9 @@ function cash(selector, context) {
5455
var fn = cash.fn = cash.prototype = Cash.prototype = {
5556
constructor: cash,
5657
__cash: true,
57-
length: 0
58+
length: 0,
59+
splice: splice // Ensures a cash collection gets printed as array-like in Chrome
60+
5861
}; // @require core/cash.js
5962
// @require core/variables.js
6063

dist/cash.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ var doc = document,
1010
map = _Array$prototype.map,
1111
push = _Array$prototype.push,
1212
reverse = _Array$prototype.reverse,
13-
slice = _Array$prototype.slice;
13+
slice = _Array$prototype.slice,
14+
splice = _Array$prototype.splice;
1415
var idRe = /^#[\w-]*$/,
1516
classRe = /^\.[\w-]*$/,
1617
htmlRe = /<.+>/,
@@ -55,7 +56,9 @@ function cash(selector, context) {
5556
var fn = cash.fn = cash.prototype = Cash.prototype = {
5657
constructor: cash,
5758
__cash: true,
58-
length: 0
59+
length: 0,
60+
splice: splice // Ensures a cash collection gets printed as array-like in Chrome
61+
5962
}; // @require core/cash.js
6063
// @require core/variables.js
6164

dist/cash.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "cash-dom",
33
"description": "An absurdly small jQuery alternative for modern browsers.",
4-
"version": "2.2.0",
4+
"version": "2.2.1",
55
"license": "MIT",
66
"main": "./dist/cash.js",
77
"module": "./dist/cash.esm.js",

0 commit comments

Comments
 (0)