0
無論您在哪個設備上運行phonegap.js文件都是一樣的嗎? 這是我的代碼。我想要做的是提取最新版本的PhoneGap,而不是在本地託管它。我是否爲每個設備加載不同的phonegap.js?
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/latest/jquery.mobile.css">
<script>
$(document).bind("mobileinit", function() {
$.mobile.ajaxEnabled = false;
});
</script>
<script src="http://code.jquery.com/mobile/latest/jquery.mobile.js"></script>
<script src="phonegap.js" type="text/javascript"></script>