lib/liquidscript/icr/context.rb in liquidscript-0.6.2 vs lib/liquidscript/icr/context.rb in liquidscript-0.6.3
- old
+ new
@@ -12,10 +12,11 @@
class Context
# The variables that are allowed to be used as a global scope,
# i.e. used in a `get` context without a previous `set`.
DEFAULT_ALLOWED_VARIABLES = [
- :window, :global, :exports, :console, :this, :arguments
+ :window, :global, :exports, :console, :this, :arguments,
+ :require
]
# The parent of the current context.
#
# @return [Parent]