mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 08:51:22 +00:00
Merge pull request #223 from webcomponents/garlicnation-patch-1
Fix error calling .split on undefined.
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
}
|
||||
}
|
||||
// log flags
|
||||
if (flags.log) {
|
||||
if (flags.log && flags.log.split) {
|
||||
var parts = flags.log.split(',');
|
||||
flags.log = {};
|
||||
parts.forEach(function(f) {
|
||||
|
||||
Reference in New Issue
Block a user