-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebug.html
46 lines (39 loc) · 1.3 KB
/
debug.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<title>Enyo Bootplate App</title>
<!-- -->
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- enyo (debug) -->
<script src="enyo/enyo.js"></script>
<!-- application (debug) -->
<script src="source/package.js" type="text/javascript"></script>
<link href="source/style/DateScroller.css" rel="stylesheet">
<script src="source/DateScroller.js" type="text/javascript"></script>
</head>
<body class="enyo-unselectable">
<script>
var DataManager = DataManager || {};
DataManager.models = DataManager.models || {};
DataManager.collections = DataManager.collections || {};
$(function() {
DataManager.collections.expenses.fetch({
success : function(){
console.log(arguments)
},
error : function(collection, xhr, options){
debugger;
}
});
//var a = new DataManager.models.Expense({amount:"123"});
//debugger;
});
var view = new SubRepView();
//var view = new WizardManager();
//var view = new palm.app.ApplicationMain({fit: true})
view.renderInto(document.body);
</script>
</body>
</html>