-
-
Save yajd/d4836a73dc917f842dbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/html"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<title>Tigo SMART Installation</title> | |
<script type="text/javascript" src="apps/installation/js/index.js"></script> | |
<script type="text/javascript" src="apps/installation/js/jquery-2.1.1.min.js"></script> | |
<script type="text/javascript" src="apps/installation/js/fastclick.min.js"></script> | |
<script type="text/javascript" src="apps/installation/js/sha512.js"></script> | |
<script type="text/javascript" src="bower_components/uri.js/src/URI.min.js"></script> | |
<script type="text/javascript" src="js/extlogin.js"></script> | |
<link rel="stylesheet" href="css/app.css"> | |
<link rel="stylesheet" type="text/css" href="apps/installation/css/index.css" /> | |
<script type="text/javascript" src="cordova.js"></script> | |
<script> | |
/* | |
console.error('ok device ready'); | |
setTimeout(function() { | |
console.error('ok attaching to backbutton'); | |
document.addEventListener('backbutton', function() { | |
console.error('deviceback start'); | |
angular.element('.ng-scope').scope().back(); | |
console.error('deviceback end'); | |
}, false); | |
console.error('ok attached'); | |
}, 5000); | |
*/ | |
</script> | |
<script type="text/javascript" charset="utf-8"> | |
// Wait for device API libraries to load | |
// | |
function onLoad() { | |
console.warn('ok loaded') | |
document.addEventListener("deviceready", onDeviceReady, false); | |
} | |
// device APIs are available | |
// | |
function onDeviceReady() { | |
// Register the event listener | |
console.warn('ok device ready'); | |
document.addEventListener("backbutton", onBackKeyDown, false); | |
} | |
// Handle the back button | |
// | |
function onBackKeyDown() { | |
console.warn('ok backey downed') | |
} | |
</script> | |
</head> | |
<body onload="onLoad()"> | |
<div ng-view></div> | |
<script data-main="bin/SmartApp" src="bower_components/requirejs/require.min.js"></script> | |
<img style="opacity:0;visibility:hidden;" class="loader" src="img/loader.gif" /> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment