Skip to content

Commit ebaf47b

Browse files
committed
update mo, dollar
1 parent f8a4584 commit ebaf47b

File tree

9 files changed

+18
-22
lines changed

9 files changed

+18
-22
lines changed

bower.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "cardkit",
33
"description": "",
4-
"version": "1.4.2",
4+
"version": "1.4.3",
55
"dependencies": {
66
},
77
"devDependencies": {
88
"ozjs": "~2.5.3",
9-
"mo": "~1.5.5",
10-
"dollar": "~1.2.2",
9+
"mo": "~1.5.6",
10+
"dollar": "~1.2.4",
1111
"eventmaster": "~2.1.0",
1212
"soviet": "~1.0.0",
1313
"choreo": "~1.1.0",

dist/js/main.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -657,11 +657,10 @@ define("mo/browsers", [], function(){
657657
rtheworld = /(theworld)/,
658658
rmaxthon3 = /(maxthon\/3)/,
659659
rmaxthon = /(maxthon)/,
660-
rwechat = /(micromessenger)/,
661660
rtt = /(tencenttraveler)/,
662661
rqq = /(qqbrowser)/,
663662
rbaidu = /(baidubrowser)/,
664-
ruc = /(ucbrowser|ucweb)/,
663+
ruc = /(ucbrowser)/,
665664
rsogou = /(sogou\w*browser)/,
666665
rmetasr = /(metasr)/;
667666

@@ -679,7 +678,6 @@ define("mo/browsers", [], function(){
679678
|| rtheworld.exec(ua)
680679
|| rmaxthon3.exec(ua)
681680
|| rmaxthon.exec(ua)
682-
|| rwechat.exec(ua)
683681
|| rtt.exec(ua)
684682
|| rqq.exec(ua)
685683
|| rbaidu.exec(ua)
@@ -1630,6 +1628,7 @@ define("dollar/origin", [
16301628
},
16311629

16321630
eq: function(i){
1631+
i = parseInt(i, 10);
16331632
return i === -1 ? this.slice(-1) : this.slice(i, i + 1);
16341633
},
16351634

dist/js/main.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/dist/js/main.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -657,11 +657,10 @@ define("mo/browsers", [], function(){
657657
rtheworld = /(theworld)/,
658658
rmaxthon3 = /(maxthon\/3)/,
659659
rmaxthon = /(maxthon)/,
660-
rwechat = /(micromessenger)/,
661660
rtt = /(tencenttraveler)/,
662661
rqq = /(qqbrowser)/,
663662
rbaidu = /(baidubrowser)/,
664-
ruc = /(ucbrowser|ucweb)/,
663+
ruc = /(ucbrowser)/,
665664
rsogou = /(sogou\w*browser)/,
666665
rmetasr = /(metasr)/;
667666

@@ -679,7 +678,6 @@ define("mo/browsers", [], function(){
679678
|| rtheworld.exec(ua)
680679
|| rmaxthon3.exec(ua)
681680
|| rmaxthon.exec(ua)
682-
|| rwechat.exec(ua)
683681
|| rtt.exec(ua)
684682
|| rqq.exec(ua)
685683
|| rbaidu.exec(ua)
@@ -1630,6 +1628,7 @@ define("dollar/origin", [
16301628
},
16311629

16321630
eq: function(i){
1631+
i = parseInt(i, 10);
16331632
return i === -1 ? this.slice(-1) : this.slice(i, i + 1);
16341633
},
16351634

examples/dist/js/main.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/js/browsers_test_pack.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -768,11 +768,10 @@ define("mo/browsers", [], function(){
768768
rtheworld = /(theworld)/,
769769
rmaxthon3 = /(maxthon\/3)/,
770770
rmaxthon = /(maxthon)/,
771-
rwechat = /(micromessenger)/,
772771
rtt = /(tencenttraveler)/,
773772
rqq = /(qqbrowser)/,
774773
rbaidu = /(baidubrowser)/,
775-
ruc = /(ucbrowser|ucweb)/,
774+
ruc = /(ucbrowser)/,
776775
rsogou = /(sogou\w*browser)/,
777776
rmetasr = /(metasr)/;
778777

@@ -790,7 +789,6 @@ define("mo/browsers", [], function(){
790789
|| rtheworld.exec(ua)
791790
|| rmaxthon3.exec(ua)
792791
|| rmaxthon.exec(ua)
793-
|| rwechat.exec(ua)
794792
|| rtt.exec(ua)
795793
|| rqq.exec(ua)
796794
|| rbaidu.exec(ua)
@@ -1752,6 +1750,7 @@ define("dollar/origin", [
17521750
},
17531751

17541752
eq: function(i){
1753+
i = parseInt(i, 10);
17551754
return i === -1 ? this.slice(-1) : this.slice(i, i + 1);
17561755
},
17571756

js/component/dollar/origin.js

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ define("dollar/origin", [
125125
},
126126

127127
eq: function(i){
128+
i = parseInt(i, 10);
128129
return i === -1 ? this.slice(-1) : this.slice(i, i + 1);
129130
},
130131

js/component/mo/browsers.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,10 @@ define("mo/browsers", [], function(){
4343
rtheworld = /(theworld)/,
4444
rmaxthon3 = /(maxthon\/3)/,
4545
rmaxthon = /(maxthon)/,
46-
rwechat = /(micromessenger)/,
4746
rtt = /(tencenttraveler)/,
4847
rqq = /(qqbrowser)/,
4948
rbaidu = /(baidubrowser)/,
50-
ruc = /(ucbrowser|ucweb)/,
49+
ruc = /(ucbrowser)/,
5150
rsogou = /(sogou\w*browser)/,
5251
rmetasr = /(metasr)/;
5352

@@ -65,7 +64,6 @@ define("mo/browsers", [], function(){
6564
|| rtheworld.exec(ua)
6665
|| rmaxthon3.exec(ua)
6766
|| rmaxthon.exec(ua)
68-
|| rwechat.exec(ua)
6967
|| rtt.exec(ua)
7068
|| rqq.exec(ua)
7169
|| rbaidu.exec(ua)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "cardkit",
33
"description": "",
4-
"version": "1.4.2",
4+
"version": "1.4.3",
55
"main": "Gruntfile.js",
66
"engines": {
77
"node": ">= 0.8.0"

0 commit comments

Comments
 (0)