77f74eb6 by Alan Plum

Added define-and-pollute approach

1 parent 24cb4fb8
...@@ -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 = {})
......