Skip to content

Commit

Permalink
Merge pull request #2 from kshishkin/master
Browse files Browse the repository at this point in the history
Small bugfix - missing factory arguments
  • Loading branch information
morficus committed Nov 5, 2014
2 parents 4164b94 + 4a11d22 commit e0a4b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backgrid-responsiveGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
if (typeof define === "function" && define.amd) {
// AMD (+ global for extensions)
define(["jquery", "underscore", "backbone", "backgrid"], function ($, _, Backbone, Backgrid) {
return (root.Backgrid.Extension.ResponsiveGrid = factory(_, Backbone));
return (root.Backgrid.Extension.ResponsiveGrid = factory($, _, Backbone, Backgrid));
});
} else if (typeof exports === "object") {
// CommonJS
Expand Down Expand Up @@ -153,4 +153,4 @@
}
});
return ResponsiveGrid;
}));
}));

0 comments on commit e0a4b4e

Please sign in to comment.