File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " outlayer" ,
3
- "version" : " 1.1.6 " ,
3
+ "version" : " 1.1.7 " ,
4
4
"description" : " the brains and guts of a layout library" ,
5
5
"main" : [
6
6
" item.js" ,
Original file line number Diff line number Diff line change 1
1
/*!
2
- * Outlayer v1.1.6
2
+ * Outlayer v1.1.7
3
3
* the brains and guts of a layout library
4
4
*/
5
5
@@ -694,11 +694,10 @@ Outlayer.prototype.resize = function() {
694
694
**/
695
695
Outlayer . prototype . addItems = function ( elems ) {
696
696
var items = this . _itemize ( elems ) ;
697
- if ( ! items . length ) {
698
- return ;
699
- }
700
697
// add items to collection
701
- this . items = this . items . concat ( items ) ;
698
+ if ( items . length ) {
699
+ this . items = this . items . concat ( items ) ;
700
+ }
702
701
return items ;
703
702
} ;
704
703
You can’t perform that action at this time.
0 commit comments