Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opal/corelib/module.rb
Original file line number Diff line number Diff line change
@@ -192,7 +192,7 @@ def class_variable_set(name, value)
end

def constants
`self.$$scope.constants`
`self.$$scope.constants.slice(0)`
end

# check for constant within current scope

0 comments on commit 1552d36

Please sign in to comment.