Added define-and-pollute approach
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -403,6 +403,6 @@ factory = (exports) -> | ... | @@ -403,6 +403,6 @@ factory = (exports) -> |
403 | if typeof exports == 'object' | 403 | if typeof exports == 'object' |
404 | factory(exports) | 404 | factory(exports) |
405 | else if typeof define == 'function' && define.amd | 405 | else if typeof define == 'function' && define.amd |
406 | define ['exports'], factory | 406 | define ['exports'], (exports) -> @rivets = factory(exports) |
407 | else | 407 | else |
408 | factory(@rivets = {}) | 408 | factory(@rivets = {}) | ... | ... |
-
Please register or sign in to post a comment