Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated require.js

  • Loading branch information...
commit eaf3e22098bb4c7cef9fa1eec2ad1eacd231a14c 1 parent a811863
@jbasdf jbasdf authored
Showing with 2 additions and 7 deletions.
  1. +1 −1  Readme.rdoc
  2. +1 −6 public/js/libs/require/require.js
View
2  Readme.rdoc
@@ -2,7 +2,7 @@ Template project for backbone with require.js:
==========================================
This project demonstrates how to use require.js with backbone.js and then replace require.js with almond.js in production.
-See the app.build.js file in public/js to see how the project is built.
+See the app.build.js file in public/js to see how the project is built. Note that the included require.js is currently an edge version.
To build the javascript files you can do:
node public/js/app.build.js
View
7 public/js/libs/require/require.js
@@ -1321,11 +1321,6 @@ var requirejs, require, define;
} : null]);
}
- //If a global jQuery is defined, check for it. Need to do it here
- //instead of main() since stock jQuery does not register as
- //a module via define.
- jQueryCheck();
-
//Doing this scriptCount decrement branching because sync envs
//need to decrement after resume, otherwise it looks like
//loading is complete after the first dependency is fetched.
@@ -1945,4 +1940,4 @@ var requirejs, require, define;
req.checkReadyState();
}, 0);
}
-}());
+}());
Please sign in to comment.
Something went wrong with that request. Please try again.