forked from fynjah/PhoneJS-TipCalculator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
21 lines (15 loc) · 757 Bytes
/
Copy pathindex.js
File metadata and controls
21 lines (15 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"use strict";
window.TipCalculator = window.TipCalculator || {};
$(function() {
// Uncomment the line below to disable platform-specific look and feel and to use the Generic theme for all devices
// DevExpress.devices.current({ platform: "generic" });
document.addEventListener("deviceready", function() { navigator.splashscreen.hide(); });
TipCalculator.app = new DevExpress.framework.html.HtmlApplication({
namespace: TipCalculator,
navigationType: TipCalculator.config.navigationType
});
TipCalculator.app.router.register(":view", { view: "home" });
TipCalculator.app.navigate();
});
Globalize.culture(navigator.language || navigator.browserLanguage);
//Globalize.culture("fr");