added cordova.js

This commit is contained in:
meadowstream 2014-07-27 16:18:15 -04:00
parent 96c0fe89a4
commit 7c0d876452
2 changed files with 2 additions and 3 deletions

View file

@ -33,6 +33,7 @@
<script type = 'text/javascript' src="js/input.js"></script>
<script type = 'text/javascript' src="js/main.js"></script>
<script type = 'text/javascript' src="js/initialization.js"></script>
<script type = 'text/javascript' charset = 'utf-8' src = 'cordova.js'></script>
<div id="attributions">Started by <a href="http://github.com/teamsnowman">@teamsnowman</a> at <a href= 'http://www.hackexeter.com/'>HackExeter</a><br>
Finished by <a href="http://github.com/garrettdreyfus">Garrett Finucane</a> & <a href="http://github.com/meadowstream" >Logan Engstrom</a> on <a href = 'http://github.com/hextris/hextris'>GitHub</a>
</div>

View file

@ -4,15 +4,13 @@ $(document).ready(function(){
$('a').each(function(i,o){
$(o).on('click',function(e){
debugger;
window.open(this.href, target='_system');
window.open("http://www.google.com", '_system', 'location=no');
e.preventDefault();
return false;
});
});
$('#ghl').on('click mousedown touchstart',function(e){
debugger;
window.open('http://hextris.github.io/', target='_system');
e.preventDefault();
return false;