mirror of
https://github.com/moparisthebest/mail
synced 2024-11-22 08:52:15 -05:00
moved html main js files to src
This commit is contained in:
parent
e8329872ec
commit
019c23b511
@ -1,8 +1,10 @@
|
||||
{
|
||||
"indent": 4,
|
||||
"strict": true,
|
||||
"globalstrict": true,
|
||||
"node": true,
|
||||
"browser": true,
|
||||
"camelcase": true,
|
||||
"nonew": true,
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
@ -32,5 +34,6 @@
|
||||
],
|
||||
|
||||
"globals": {
|
||||
"app": true
|
||||
}
|
||||
}
|
@ -8,7 +8,7 @@
|
||||
<link rel="stylesheet" href="css/styles.css"/>
|
||||
|
||||
<!-- The Scripts -->
|
||||
<script data-main="js/window-loader.js" src="lib/require.js"></script>
|
||||
<script data-main="index.js" src="lib/require.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -1,4 +1,4 @@
|
||||
require(['../require-config'], function() {
|
||||
require(['require-config'], function() {
|
||||
'use strict';
|
||||
|
||||
// Start the main app logic.
|
@ -24,13 +24,8 @@ define(['js/dao/email-dao'], function(emailDao) {
|
||||
*/
|
||||
self.start = function(callback) {
|
||||
// the views to load
|
||||
var views = [
|
||||
'login',
|
||||
'compose',
|
||||
'folderlist',
|
||||
'messagelist',
|
||||
'messagelistitem',
|
||||
'read'
|
||||
var views = ['login', 'compose', 'folderlist', 'messagelist',
|
||||
'messagelistitem', 'read'
|
||||
];
|
||||
|
||||
// are we running in native app or in browser?
|
||||
|
@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- The Scripts -->
|
||||
<script src="js/mail-content-loader.js"></script>
|
||||
<script src="mail-content.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
<script src="js/app-router.js"></script>
|
||||
<script src="js/app-controller.js"></script>
|
||||
<script src="js/mobile-loader.js"></script>
|
||||
<script src="mobile.js"></script>
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
@ -24,7 +24,7 @@
|
||||
<script src="js/view/read-view.js"></script>
|
||||
|
||||
<script src="js/app-router.js"></script>
|
||||
<script src="js/sandbox-loader.js"></script>
|
||||
<script src="sandbox.js"></script>
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
Loading…
Reference in New Issue
Block a user