문제

I am currently using appframework MVC for mobile devices, the problem is that app.ready is not fired on android devices, but working fine on IOS devices. Any suggestion, below is my little code:

var app = new $.mvc.app();
app.loadModels("login");
app.loadControllers("login");
app.ready(function() {
    alert("I am at the app ready");
    $.mvc.route("/login");//Load the default login route
});
도움이 되었습니까?

해결책

After this, you have to throw ui

$ui.launch();
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top