Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

switched to lodash

  • Loading branch information...
commit 693e121d8cff59ee1aa193a95ad61b865170fbaa 1 parent d63437e
Thomas Davis authored
2  js/collections/projects.js
View
@@ -1,6 +1,6 @@
define([
'jquery',
- 'underscore',
+ 'lodash',
'backbone',
'models/projects'
], function($, _, Backbone, projectsModel){
4,203 js/libs/lodash/lodash.js
View
4,203 additions, 0 deletions not shown
1  js/main.js
View
@@ -5,6 +5,7 @@ require.config({
// Major libraries
jquery: 'libs/jquery/jquery-min',
underscore: 'libs/underscore/underscore-min', // https://github.com/amdjs
+ lodash: 'libs/lodash/lodash', // alternative to underscore
backbone: 'libs/backbone/backbone-min', // https://github.com/amdjs
sinon: 'libs/sinon/sinon.js',
2  js/models/projects.js
View
@@ -1,5 +1,5 @@
define([
- 'underscore',
+ 'lodash',
'backbone'
], function(_, Backbone) {
var projectsModel = Backbone.Model.extend({
2  js/views/app.js
View
@@ -1,6 +1,6 @@
define([
'jquery',
- 'underscore',
+ 'lodash',
'backbone',
'vm',
'events',
2  js/views/backbone/page.js
View
@@ -1,6 +1,6 @@
define([
'jquery',
- 'underscore',
+ 'lodash',
'backbone',
'vm',
'text!templates/backbone/page.html',
2  js/views/backbone/section.js
View
@@ -1,6 +1,6 @@
define([
'jquery',
- 'underscore',
+ 'lodash',
'backbone',
'vm'
], function($, _, Backbone, Vm){
2  js/views/backbone/sidemenu.js
View
@@ -1,6 +1,6 @@
define([
'jquery',
- 'underscore',
+ 'lodash',
'backbone',
'text!templates/backbone/sidemenu.html',
], function($, _, Backbone, sidemenuTemplate){
2  js/views/dashboard/page.js
View
@@ -1,6 +1,6 @@
define([
'jquery',
- 'underscore',
+ 'lodash',
'backbone',
'text!templates/dashboard/page.html'
], function($, _, Backbone, dashboardPageTemplate){
2  js/views/footer/footer.js
View
@@ -1,6 +1,6 @@
define([
'jquery',
- 'underscore',
+ 'lodash',
'backbone',
'events',
'text!templates/footer/footer.html',
2  js/views/header/menu.js
View
@@ -1,6 +1,6 @@
define([
'jquery',
- 'underscore',
+ 'lodash',
'backbone',
'text!templates/header/menu.html'
], function($, _, Backbone, headerMenuTemplate){
2  js/views/manager/page.js
View
@@ -1,6 +1,6 @@
define([
'jquery',
- 'underscore',
+ 'lodash',
'backbone',
'vm',
'text!templates/manager/page.html'
2  js/views/modules/page.js
View
@@ -1,6 +1,6 @@
define([
'jquery',
- 'underscore',
+ 'lodash',
'backbone',
'text!templates/modules/page.html'
], function($, _, Backbone, modulesPageTemplate){
2  js/views/optimize/page.js
View
@@ -1,6 +1,6 @@
define([
'jquery',
- 'underscore',
+ 'lodash',
'backbone',
'text!templates/optimize/page.html'
], function($, _, Backbone, optimizePageTemplate){
Please sign in to comment.
Something went wrong with that request. Please try again.