hojberg / grunt-yui-config

Generate YUI config dependency chart with Grunt
MIT License
4 stars 2 forks source link

Ensure options is defined before using it. Fixes #11 #12

Closed F21 closed 10 years ago

F21 commented 10 years ago

As per #11, sometimes the options variable is omitted when using YUI.add(). This is prevalent in files created by shifter.

This adds a check so that the task does not break when the options variable is not provided.

F21 commented 10 years ago

Looks like this didn't work. Closing this for now.

F21 commented 10 years ago

Reopening. It did worked after all!

hojberg commented 10 years ago

Looks good!

F21 commented 10 years ago

@hojberg Do you mind pushing a new build to npm? :smile:

hojberg commented 10 years ago

@F21 just did :)

F21 commented 10 years ago

@hojberg Beautiful! Thanks! :smile: