Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

renamed index to config

  • Loading branch information...
commit 1356ec0502007aec7ec3686d556646faae5f1821 1 parent 9d8ec79
@tbranyen tbranyen authored
Showing with 2 additions and 32 deletions.
  1. +0 −30 app/index.js
  2. +1 −1  build/config.js
  3. +1 −1  index.html
View
30 app/index.js
@@ -1,30 +0,0 @@
-// Set the require.js configuration for your application.
-require.config({
- // Initialize the application with the main application file
- deps: ["main"],
-
- paths: {
- // JavaScript folders
- libs: "../assets/js/libs",
- plugins: "../assets/js/plugins",
-
- // Libraries
- jquery: "../assets/js/libs/jquery",
- underscore: "../assets/js/libs/underscore",
- backbone: "../assets/js/libs/backbone",
-
- // Shim Plugin
- use: "../assets/js/plugins/use"
- },
-
- use: {
- backbone: {
- deps: ["use!underscore", "jquery"],
- attach: "Backbone"
- },
-
- underscore: {
- attach: "_"
- }
- }
-});
View
2  build/config.js
@@ -111,7 +111,7 @@ config.init({
// other builders may be contributed as drop-in alternatives.
requirejs: {
// Include the main configuration file
- mainConfigFile: "app/index.js",
+ mainConfigFile: "app/config.js",
// Output file
out: "dist/debug/require.js",
View
2  index.html
@@ -16,6 +16,6 @@
<div role="main" id="main"></div>
<!-- Application source -->
- <script data-main="app/index" src="/assets/js/libs/require.js"></script>
+ <script data-main="app/config" src="/assets/js/libs/require.js"></script>
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.