Skip to content

Commit 6633184

Browse files
committed
release 0.5.0
1 parent 46e38f0 commit 6633184

File tree

5 files changed

+17
-14
lines changed

5 files changed

+17
-14
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "regularjs",
3-
"version": "0.4.5",
3+
"version": "0.5.0",
44
"main": "dist/regular.js",
55
"description": "reactjs + angularjs = regularjs",
66
"authors": "@leeluolee <[email protected]>",

dist/regular.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,7 @@ return /******/ (function(modules) { // webpackBootstrap
11351135
var slice = [].slice;
11361136
var o2str = ({}).toString;
11371137
var win = typeof window !=='undefined'? window: global;
1138+
var MAX_PRIORITY = 9999;
11381139

11391140

11401141
_.noop = function(){};
@@ -1593,6 +1594,10 @@ return /******/ (function(modules) { // webpackBootstrap
15931594

15941595
var attr = attrs[ len ];
15951596

1597+
1598+
// @IE fix IE9- input type can't assign after value
1599+
if(attr.name === 'type') attr.priority = MAX_PRIORITY+1;
1600+
15961601
var directive = Component.directive( attr.name );
15971602
if( directive ) {
15981603

@@ -1622,14 +1627,12 @@ return /******/ (function(modules) { // webpackBootstrap
16221627
});
16231628

16241629
attrs.sort(function(a1, a2){
1625-
// fix IE9- input type can't assign after value
1626-
if(a2.name === "type") return 1;
1627-
1630+
16281631
var p1 = a1.priority;
16291632
var p2 = a2.priority;
16301633

1631-
if(p1 == null) p1 = 10000;
1632-
if(p2 == null) p2 = 10000;
1634+
if( p1 == null ) p1 = MAX_PRIORITY;
1635+
if( p2 == null ) p2 = MAX_PRIORITY;
16331636

16341637
return p2 - p1;
16351638

@@ -5319,7 +5322,7 @@ return /******/ (function(modules) { // webpackBootstrap
53195322
}
53205323

53215324
if(hasInput === undefined){
5322-
hasInput = dom.msie !== 9 && "oninput" in dom.tNode;
5325+
hasInput = dom.msie !== 9 && "oninput" in document.createElement('input')
53235326
}
53245327

53255328
if(lazy){
@@ -5335,8 +5338,8 @@ return /******/ (function(modules) { // webpackBootstrap
53355338
parsed.set(self, elem.value);
53365339
}
53375340
return function (){
5338-
if(lazy) return elem.removeEventListener("change", handler);
5339-
if(dom.msie !== 9 && "oninput" in dom.tNode ){
5341+
if(lazy) return dom.off(elem, "change", handler);
5342+
if( hasInput ){
53405343
elem.removeEventListener("input", handler );
53415344
}else{
53425345
dom.off(elem, "paste keyup cut change", handler)

dist/regular.min.js

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

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ function inc(importance) {
2727
// save it back to filesystem
2828
.pipe(gulp.dest('./'))
2929
// commit the changed version number
30-
.pipe(git.commit('bumps package version'))
30+
// .pipe(git.commit('bumps package version'))
3131
// **tag it in the repository**
32-
.pipe(tag_version());
32+
// .pipe(tag_version());
3333
}
3434

3535
gulp.task('patch', function() { return inc('patch'); })

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "regularjs",
3-
"version": "0.4.5",
3+
"version": "0.5.0",
44
"author": {
55
"name": "leeluolee"
66
},

0 commit comments

Comments
 (0)