NodeJS optimization error callback #568

merged 1 commit into from Jan 15, 2013


None yet

3 participants


This amends the 'Use with Node' section to include the NodeJS error callback within the current optimization code example.


Thanks for this contribution! I just had to find this out the hard way, as my build script was bailing with no output, and guessed that there might be an undocumented third parameter to optimize(). Was about to add it to the docs when I found this pull request. :)

@jrburke jrburke merged commit cb17b88 into requirejs:master Jan 15, 2013
jrburke commented Jan 16, 2013

Merged and applied to site. Thanks @toolness for pinging on this ticket, I wanted to merge earlier, but was heading out for vacation and it slipped through my task list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment