Changeset 748

Show
Ignore:
Timestamp:
04/24/06 23:01:40 (2 years ago)
Author:
bob@redivi.com
Message:

allow number to cheat as well

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mochikit/trunk/MochiKit/DOM.js

    r736 r748  
    626626        var self = MochiKit.DOM; 
    627627        var m = MochiKit.Base; 
    628         if (typeof(attrs) == "string") { 
     628        if (typeof(attrs) == "string" || typeof(attrs) == "number") { 
    629629            var args = m.extend([name, null], arguments, 1); 
    630630            return arguments.callee.apply(this, args); 
  • mochikit/trunk/packed/MochiKit/MochiKit.js

    r745 r748  
    28962896var self=MochiKit.DOM; 
    28972897var m=MochiKit.Base; 
    2898 if(typeof (_367)=="string"){ 
     2898if(typeof (_367)=="string"||typeof (_367)=="number"){ 
    28992899var args=m.extend([name,null],arguments,1); 
    29002900return arguments.callee.apply(this,args);