using lodash instead of underscore

This commit is contained in:
floydpraveen
2013-08-17 12:22:58 +05:30
parent e7e4253bfc
commit 23bac65558
2 changed files with 6 additions and 8 deletions
+5 -8
View File
@@ -1,21 +1,19 @@
require.config({
//load lib files required
paths: {
jquery: "vendor/jquery.min",
underscore: "vendor/underscore",
lodash:"vendor/lodash.min",
backbone: "vendor/backbone",
modernizr:"vendor/custom.modernizr",
socket:"vendor/socket.io.min",
lodash:"vendor/lodash.min"
socket:"vendor/socket.io.min"
},
shim: {
shim: {
backbone: {
deps: ["underscore", "jquery"],
deps: ["lodash", "jquery"],
exports: "Backbone"
}
},
waitSeconds: 5
@@ -26,7 +24,6 @@ require.config({
require([
'views/page'
],
function( App ) {
new App();
});
+1
View File
@@ -66,6 +66,7 @@ constants
},
update: function(e) {
console.log("update here");
if ( e.which === constants.ENTER_KEY ) {
Tasks.add({content:'', parent_id: this.model.get('parent_id')});
this.$input.blur();