jasmine-species icon indicating copy to clipboard operation
jasmine-species copied to clipboard

"auto-export" switch to bring specified modules into global namespace

Open rudylattae opened this issue 14 years ago • 0 comments

In order to start writing features and stories without additional dependencies
As a new jasmine-species user
I want to use a global setting to inject grammar into my global namespace

I am not a real fan of any js library dumping its innards or public api into my global namespace unless I ask for it. However since jasmine does this as a matter of convenience, jasmine-species, particularly the grammar package, should provide this "feature" to users.

It should help make it easier for new users to get up and running faster.

Proposed:

var jasmineSpecies_conf = {
    autoexport: [
        'jasmine.grammar.FeatureStory.*'
    ]
};

rudylattae avatar Jan 09 '11 06:01 rudylattae