我正在使用Aptana Studio和以下源代码:
<html>
<head>
<title>New Adobe AIR Project</title>
<script type="text/javascript" src="lib/air/AIRAliases.js"></script>
<script type="text/javascript" src="lib/air/AIRIntrospector.js"></script>
<script src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1");
</script>
<script>
$(function() {
alert('ok');
})
</script>
</head>
<body>
</body>
</html>
如果我只是把页面作为html页面拉上来,这就行了。
但我为什么要
ReferenceError:找不到变量:google。
引用错误:找不到变量:$
当我使用Aptana的Run命令时,或者即使我将应用程序构建成一个.air文件并从窗口的资源管理器中运行它。