Skip to content
This repository has been archived by the owner on Feb 10, 2019. It is now read-only.

Commit

Permalink
Update README.markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Elliott committed Oct 10, 2012
1 parent 7c8fe94 commit 91ab25d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ If you want to write general-purpose library modules that you can use with or wi
if (app.register) {
app.register(namespace, api);
} else {
app.exports = api;
namespace = app.exports ? 'exports' : namespace;
app[namespace] = api;
}

}(global.applitude || module || this));
Expand Down

0 comments on commit 91ab25d

Please sign in to comment.