2dfedf1f by Michael Richards

Merge pull request #142 from pluma/master

Fixed implicit return in AMD code
2 parents e0c5ca03 7b72ce7f
...@@ -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 = {})
......