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) ->
if typeof exports == 'object'
factory(exports)
else if typeof define == 'function' && define.amd
define ['exports'], (exports) -> @rivets = factory(exports)
define ['exports'], (exports) ->
factory(@rivets = exports)
return exports
else
factory(@rivets = {})
......