lazd / nsdeclare

Safely declare a namespace using dot notation
MIT License
5 stars 5 forks source link

'declared' option is not working as expected #8

Open SheepFromHeaven opened 5 years ago

SheepFromHeaven commented 5 years ago

The "declared" option is not working as documented.

The example in the docs would have to be :

...
var options = {
  declared: {
    'this["MyApp"]': true
  }
};
...

to work properly.