ender-js/Ender — Issue #89: A question about sandboxing
Author: maslen
Created: 2011-10-21 16:07:58+00:00
State: open

Hi,

Could you explain what --sandboxing is for when building ender?

ender build jeesh

Makes '$' and 'ender' globals available. But...

ender build jeesh --sandbox

Makes '$' unavailable and also changes 'ender' so it expects a function.

I read the cmd help...

"--sandbox (--sandbox) Prevents global leakage of ender lib variables. Passing additional arguments will define the specified packages directly on the window."

But don't really understand what this is supposed to help with.

Many thanks (really liking ender)
/t