Skip to content

Commit

Permalink
release 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leeluolee committed Aug 25, 2016
1 parent 46e38f0 commit 6633184
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "regularjs",
"version": "0.4.5",
"version": "0.5.0",
"main": "dist/regular.js",
"description": "reactjs + angularjs = regularjs",
"authors": "@leeluolee <87399126@163.com>",
Expand Down
19 changes: 11 additions & 8 deletions dist/regular.js
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,7 @@ return /******/ (function(modules) { // webpackBootstrap
var slice = [].slice;
var o2str = ({}).toString;
var win = typeof window !=='undefined'? window: global;
var MAX_PRIORITY = 9999;


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

var attr = attrs[ len ];


// @IE fix IE9- input type can't assign after value
if(attr.name === 'type') attr.priority = MAX_PRIORITY+1;

var directive = Component.directive( attr.name );
if( directive ) {

Expand Down Expand Up @@ -1622,14 +1627,12 @@ return /******/ (function(modules) { // webpackBootstrap
});

attrs.sort(function(a1, a2){
// fix IE9- input type can't assign after value
if(a2.name === "type") return 1;


var p1 = a1.priority;
var p2 = a2.priority;

if(p1 == null) p1 = 10000;
if(p2 == null) p2 = 10000;
if( p1 == null ) p1 = MAX_PRIORITY;
if( p2 == null ) p2 = MAX_PRIORITY;

return p2 - p1;

Expand Down Expand Up @@ -5319,7 +5322,7 @@ return /******/ (function(modules) { // webpackBootstrap
}

if(hasInput === undefined){
hasInput = dom.msie !== 9 && "oninput" in dom.tNode;
hasInput = dom.msie !== 9 && "oninput" in document.createElement('input')
}

if(lazy){
Expand All @@ -5335,8 +5338,8 @@ return /******/ (function(modules) { // webpackBootstrap
parsed.set(self, elem.value);
}
return function (){
if(lazy) return elem.removeEventListener("change", handler);
if(dom.msie !== 9 && "oninput" in dom.tNode ){
if(lazy) return dom.off(elem, "change", handler);
if( hasInput ){
elem.removeEventListener("input", handler );
}else{
dom.off(elem, "paste keyup cut change", handler)
Expand Down
4 changes: 2 additions & 2 deletions dist/regular.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ function inc(importance) {
// save it back to filesystem
.pipe(gulp.dest('./'))
// commit the changed version number
.pipe(git.commit('bumps package version'))
// .pipe(git.commit('bumps package version'))
// **tag it in the repository**
.pipe(tag_version());
// .pipe(tag_version());
}

gulp.task('patch', function() { return inc('patch'); })
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "regularjs",
"version": "0.4.5",
"version": "0.5.0",
"author": {
"name": "leeluolee"
},
Expand Down

0 comments on commit 6633184

Please sign in to comment.