Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
rivets
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2dfedf1f
authored
2013-04-06 10:40:27 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #142 from pluma/master
Fixed implicit return in AMD code
2 parents
e0c5ca03
7b72ce7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/rivets.coffee
src/rivets.coffee
View file @
2dfedf1
...
...
@@ -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
=
{})
...
...
Please
register
or
sign in
to post a comment