mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-07-01 16:40:05 +08:00
moved index.html
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
require.config({
|
||||
|
||||
//load lib files required
|
||||
paths: {
|
||||
jquery: '../bower_components/jquery/dist/jquery',
|
||||
lodash: "../bower_components/lodash/dist/lodash.min",
|
||||
backbone: '../bower_components/backbone/backbone',
|
||||
modernizr: "vendor/custom.modernizr",
|
||||
socket: "../bower_components/socket.io-client/socket.io",
|
||||
text: '../bower_components/text/text',
|
||||
},
|
||||
map: {
|
||||
"*": {
|
||||
// alias underscore to lodash for backbone
|
||||
"underscore": "lodash"
|
||||
}
|
||||
},
|
||||
shim: {
|
||||
backbone: {
|
||||
deps: ["lodash", "jquery"],
|
||||
exports: "Backbone"
|
||||
}
|
||||
},
|
||||
|
||||
waitSeconds: 5
|
||||
|
||||
});
|
||||
|
||||
//start the app
|
||||
require([
|
||||
'views/page'
|
||||
],
|
||||
function (App) {
|
||||
new App();
|
||||
});
|
||||
Reference in New Issue
Block a user