Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SonoIo authored and SonoIo committed Feb 19, 2015
1 parent 2282213 commit 7ce46b3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "context-utils",
"version": "1.0.0",
"version": "1.0.1",
"homepage": "https://github.com/SonoIo/context-utils",
"authors": [
"Inside a bit"
Expand Down
17 changes: 16 additions & 1 deletion lib/context.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
;(function (root, factory) {

module.exports = {};
if (typeof define === 'function' && define.amd) {
define([], function () {
return factory(root);
});
}
else if (typeof exports !== 'undefined') {
module.exports = factory(root);
}
else {
root.context = factory(root);
}

}(this, function (root) {
return {};
}));
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "context-utils",
"version": "1.0.0",
"version": "1.0.1",
"description": "Context utils for browser and node.js",
"main": "lib/context.js",
"repository": {
Expand Down

0 comments on commit 7ce46b3

Please sign in to comment.