@bloomstack/panda
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -214,2 +214,3 @@ import _regeneratorRuntime from 'babel-runtime/regenerator'; | ||
this._children = []; | ||
this._canUpdate = true; | ||
@@ -639,13 +640,18 @@ this._baseComponent = baseComponent || null; | ||
_context7.next = 10; | ||
if (!this.canUpdate) { | ||
_context7.next = 11; | ||
break; | ||
} | ||
_context7.next = 11; | ||
return this.update(); | ||
case 10: | ||
_context7.next = 12; | ||
case 11: | ||
_context7.next = 13; | ||
return this.broadcast('onLateStart'); | ||
case 12: | ||
case 13: | ||
return _context7.abrupt('return', this); | ||
case 13: | ||
case 14: | ||
case 'end': | ||
@@ -917,2 +923,10 @@ return _context7.stop(); | ||
} | ||
}, { | ||
key: 'canUpdate', | ||
get: function get() { | ||
return this._canUpdate; | ||
}, | ||
set: function set(value) { | ||
this._canUpdate = value; | ||
} | ||
}]); | ||
@@ -919,0 +933,0 @@ |
@@ -228,2 +228,3 @@ 'use strict'; | ||
this._children = []; | ||
this._canUpdate = true; | ||
@@ -653,13 +654,18 @@ this._baseComponent = baseComponent || null; | ||
_context7.next = 10; | ||
if (!this.canUpdate) { | ||
_context7.next = 11; | ||
break; | ||
} | ||
_context7.next = 11; | ||
return this.update(); | ||
case 10: | ||
_context7.next = 12; | ||
case 11: | ||
_context7.next = 13; | ||
return this.broadcast('onLateStart'); | ||
case 12: | ||
case 13: | ||
return _context7.abrupt('return', this); | ||
case 13: | ||
case 14: | ||
case 'end': | ||
@@ -931,2 +937,10 @@ return _context7.stop(); | ||
} | ||
}, { | ||
key: 'canUpdate', | ||
get: function get() { | ||
return this._canUpdate; | ||
}, | ||
set: function set(value) { | ||
this._canUpdate = value; | ||
} | ||
}]); | ||
@@ -933,0 +947,0 @@ |
{ | ||
"name": "@bloomstack/panda", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A generic aggregate composition library. Meant to be light weight and easily extensible.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
77128
1642