io.appium.gappium.sampleapp
Version:
Sample Corodva application (Android + iOS) to illustrate test automation
20 lines (18 loc) • 541 B
JavaScript
var app = {
views: {},
models: {},
routers: {},
utils: {},
adapters: {}
};
$(document).on("deviceready", function () {
if (typeof app.adapters.employee.initialize === "function") {
app.adapters.employee.initialize();
}
app.router = new app.routers.AppRouter();
app.utils.templates.load(["HomeView", "EmployeeView", "EmployeeListItemView", "ReportsView", "MapView"],
function () {
app.router = new app.routers.AppRouter();
Backbone.history.start();
});
});