Merge pull request #142 from pluma/master
Fixed implicit return in AMD code
Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -403,6 +403,8 @@ factory = (exports) -> | ... | @@ -403,6 +403,8 @@ 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'], (exports) -> @rivets = factory(exports) | 406 | define ['exports'], (exports) -> |
407 | factory(@rivets = exports) | ||
408 | return exports | ||
407 | else | 409 | else |
408 | factory(@rivets = {}) | 410 | factory(@rivets = {}) | ... | ... |
-
Please register or sign in to post a comment