mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-08-12 11:40:31 +08:00
using lodash instead of underscore
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user