Skip to content

Commit

Permalink
fix(legacy-element-mixin): syntax error in _logger
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Dec 27, 2017
1 parent f4ecbae commit e0affe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/legacy/legacy-element-mixin.html
Expand Up @@ -937,7 +937,7 @@
*/
_logger(level, args) {
// accept ['foo', 'bar'] and [['foo', 'bar']]
if (Array.isArray(args) && args.length === 1, && Array.isArray(args[0])) {
if (Array.isArray(args) && args.length === 1 && Array.isArray(args[0])) {
args = args[0];
}
switch(level) {
Expand Down

0 comments on commit e0affe3

Please sign in to comment.