Skip to content

Commit

Permalink
Fix for new global variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Nemytchenko committed Jan 19, 2015
1 parent 8e1837d commit 3dbc72b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mithril-di.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function() {
(function(Mithril) {
var repository;
repository = [];
Mithril.factory = function(name, dependencies) {
Expand Down Expand Up @@ -40,4 +40,4 @@
return repository[name].instance;
};
return Mithril;
})();
})(m);

0 comments on commit 3dbc72b

Please sign in to comment.