This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -0,0 +1,55 @@
// Sets the require.js configuration for your application.
require.config( {

baseUrl: "../../js",

// 3rd party script alias names
paths: {

// Core Libraries
"jquery": "../external/jquery/jquery",
"jquerymobile": "jquery.mobile",
"underscore": "//rawgithub.com/lodash/lodash/2.4.1/dist/lodash",
"backbone": "//rawgithub.com/jashkenas/backbone/0.9.2/backbone",

"backbone-requirejs-demos": "../demos/backbone-requirejs/js"
},

// Sets the configuration for your third party scripts that are not AMD compatible
shim: {

"backbone": {
"deps": [ "underscore", "jquery" ],
"exports": "Backbone"
}

}

});

// Includes File Dependencies
require([
"jquery",
"backbone",
"backbone-requirejs-demos/routers/mobileRouter"
], function ( $, Backbone, Mobile ) {

$( document ).on( "mobileinit",

// Set up the "mobileinit" handler before requiring jQuery Mobile's module
function () {

// Prevents all anchor click handling including the addition of active button state and alternate link bluring.
$.mobile.linkBindingEnabled = false;

// Disabling this will prevent jQuery Mobile from handling hash changes
$.mobile.hashListeningEnabled = false;
}
)

require( [ "jquerymobile" ], function () {

// Instantiates a new Backbone.js Mobile Router
this.router = new Mobile();
});
});

This file was deleted.

@@ -2,7 +2,10 @@
// ==============

// Includes file dependencies
define([ "jquery", "backbone" ], function( $, Backbone ) {
define([
"jquery",
"backbone"
], function( $, Backbone ) {

// The Model constructor
var Model = Backbone.Model.extend( {
@@ -2,7 +2,13 @@
// =============

// Includes file dependencies
define([ "jquery","backbone", "../models/CategoryModel", "../collections/CategoriesCollection", "../views/CategoryView" ], function( $, Backbone, CategoryModel, CategoriesCollection, CategoryView ) {
define([
"jquery",
"backbone",
"../models/CategoryModel",
"../collections/CategoriesCollection",
"../views/CategoryView"
], function( $, Backbone, CategoryModel, CategoriesCollection, CategoryView ) {

// Extends Backbone.Router
var CategoryRouter = Backbone.Router.extend( {
@@ -2,7 +2,11 @@
// =============

// Includes file dependencies
define([ "jquery", "backbone","models/CategoryModel" ], function( $, Backbone, CategoryModel ) {
define([
"jquery",
"backbone",
"../models/CategoryModel"
], function( $, Backbone, CategoryModel ) {

// Extends Backbone.View
var CategoryView = Backbone.View.extend( {