77f74eb6 by Alan Plum

Added define-and-pollute approach

1 parent 24cb4fb8
......@@ -403,6 +403,6 @@ factory = (exports) ->
if typeof exports == 'object'
factory(exports)
else if typeof define == 'function' && define.amd
define ['exports'], factory
define ['exports'], (exports) -> @rivets = factory(exports)
else
factory(@rivets = {})
......