You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I concatenate my angular modules and use 'use strict'; directive. This brakes the tree component, where it's trying to access leaf objects that are simple strings. children: ['White Leghorn', 'Rhode Island Red', 'Jersey Giant']
b.level = level; // will throw an error: TypeError: Cannot assign to read only property 'level' of
I ended up doing this in a couple places:
if (typeof b === 'string'){
...
}
to reproduce, just put 'use strict'; on top of the file defing abnTree directive.
The text was updated successfully, but these errors were encountered:
I concatenate my angular modules and use
'use strict';
directive. This brakes the tree component, where it's trying to access leaf objects that are simple strings.children: ['White Leghorn', 'Rhode Island Red', 'Jersey Giant']
b.level = level;
// will throw an error:TypeError: Cannot assign to read only property 'level' of
I ended up doing this in a couple places:
to reproduce, just put
'use strict';
on top of the file defing abnTree directive.The text was updated successfully, but these errors were encountered: