1
0
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:
Tankred Hase 2013-06-10 20:00:14 +02:00
parent e8329872ec
commit 019c23b511
10 changed files with 10 additions and 12 deletions

View File

@ -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
}
}

View File

@ -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>

View File

@ -1,4 +1,4 @@
require(['../require-config'], function() {
require(['require-config'], function() {
'use strict';
// Start the main app logic.

View File

@ -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?

View File

@ -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>

View File

@ -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>

View File

@ -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>