Skip to content

Commit

Permalink
过滤更多关键字
Browse files Browse the repository at this point in the history
  • Loading branch information
RubyLouvre committed Nov 30, 2012
1 parent bd54603 commit e63c0e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fx.js
Expand Up @@ -132,7 +132,7 @@ define("fx", ["$css"],function( $ ){
$.fx.scroll = function(el, prop){//getter
return el[ prop ];
}
var keyworks = $.oneObject("orig,overflow,before,frame,after,easing,revert,record,duration");
var keyworks = $.oneObject("orig,overflow,before,frame,after,easing,revert,record,duration,method,node,positive,negative");
var Animation = {
noop: function(){},
type: function (attr){// 用于取得适配器的类型
Expand Down Expand Up @@ -254,7 +254,6 @@ define("fx", ["$css"],function( $ ){
parts = [0, 0]
}
}

from = parts[0];
to = parts[1];
if( from +"" === to +"" ){//不处理初止值都一样的样式与属性
Expand Down

0 comments on commit e63c0e1

Please sign in to comment.