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