febs-browser
Advanced tools
Comparing version 0.7.17 to 0.7.18
@@ -393,2 +393,4 @@ febs 库是一些常用的工具的合集; | ||
get(index:number): any; | ||
hasClass( cName:string ): boolean; | ||
@@ -395,0 +397,0 @@ addClass( cName:string ): $; |
@@ -347,2 +347,14 @@ ( function( global, factory ) { | ||
get(index) { | ||
if (!this._elem) return null; | ||
else { | ||
if (this._isArray()) { | ||
return this._elem[index]; | ||
} | ||
else { | ||
return index > 0 ? null : this._elem; | ||
} | ||
} | ||
} | ||
/** | ||
@@ -349,0 +361,0 @@ * @desc: hasClass |
@@ -73,3 +73,3 @@ { | ||
"name": "febs-browser", | ||
"version": "0.7.17" | ||
"version": "0.7.18" | ||
} |
@@ -393,2 +393,4 @@ febs 库是一些常用的工具的合集; | ||
get(index:number): any; | ||
hasClass( cName:string ): boolean; | ||
@@ -395,0 +397,0 @@ addClass( cName:string ): $; |
@@ -313,2 +313,4 @@ // Type definitions for febs | ||
get(index:number): any; | ||
/** | ||
@@ -315,0 +317,0 @@ * @desc: hasClass |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1476146
15199
459