diff --git a/src/syntax.coffee b/src/syntax.coffee index 20d69a9d8..ac5edb3e0 100644 --- a/src/syntax.coffee +++ b/src/syntax.coffee @@ -76,7 +76,7 @@ class Syntax extends GrammarRegistry _.pluck matchingScopedProperties, 'properties' buildScopeElement: (scope) -> - scope = new Array(scope...) + scope = scope.slice() element = $$ -> elementsForRemainingScopes = => classString = scope.shift()