43221321 发表于 2017-3-8 14:29:40

安装Aptana以及安装jquey 支持的过程


[*]在安装Aptana的时候,如果遇到错误 http://go.appcelerator.com/installer_nodejs_windows.msi
那么需要根据link下载node-v0.10.13-x86.msi这个node.js的环境,先安装node.js

[*]如果遇到错误http://go.appcelerator.com/installer_git_windows.exe 那么需要根据这个连接下载Git-2.12.0-64-bit.exe,先安装git环境

[*]把node.js和git安装完后,再重新安装aptana.





怎样安装jquery代码支持



[*]Commands > Bundle Development > Install Bundle > jQuery


[*]Right click on a project, select Properties > Project Build Path and select the checkbox for jQuery 1.6.2.

[*]测试是否成功。File -> New, 新建sample.js 文件,加入代码



1
2
3
$(document).ready(function(){

});






4. 在花括号中加入 $("p").ad ,这时会发现jquery 的函数弹出来了。


注意,如果把jquery的代码直接加到html中,有缺少分号的提示,并不支持jquery代码直接在html中显示。

hanghang123 发表于 2017-3-10 10:50:25

333333333333333{:6_404:}
页: [1]
查看完整版本: 安装Aptana以及安装jquey 支持的过程