Skip to content

Commit

Permalink
better path hack
Browse files Browse the repository at this point in the history
  • Loading branch information
SlexAxton committed Dec 5, 2012
1 parent dc37326 commit 7ec9fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r.js
Original file line number Diff line number Diff line change
Expand Up @@ -3011,7 +3011,7 @@ define('browser/file', ['prim'], function (prim) {
d = prim();

// MEGA HACK UNTIL I CAN FIGURE SOMETHING OUT
if (path === './src/modernizr-init.js') {
if (path.indexOf('modernizr-init.js') >= 0) {
setTimeout(function () {
d.resolve(window.modInit);
});
Expand Down

0 comments on commit 7ec9fc4

Please sign in to comment.