jQuery Bundle for TextMate
This is a TextMate bundle to help with jQuery functions.
Authors
- Karl Swedberg
- Jonathan Chaffer
License
This bundle is dual-licensed under MIT and GPL licenses (just like jQuery).
Use it, change it, fork it, sell it. Do what you will, but please leave the author attribution.
Installation
You can install this bundle in TextMate by opening the preferences and going to the bundles tab. After installation it will be automatically updated for you. (This requires 2.0+)
Manual Installation
The quickest way to install the bundle is via the command line. If you have Git installed, you'll probably want to install with Git. With or without, you can simply copy and paste each line one by one into the Terminal instructions ( lifted from drnic ):
Install with Git
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/kswedberg/jquery-tmbundle.git "JavaScript jQuery.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'
Install without Git:
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
wget http://github.com/kswedberg/jquery-tmbundle/tarball/master
tar zxf kswedberg-jquery-tmbundle*.tar.gz
rm kswedberg-jquery-tmbundle*.tar.gz
mv kswedberg-jquery-tmbundle* "JavaScript jQuery.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'
Download
If you'd like to avoid the command line altogether, you can download the bundle and install it:
- download the zip from http://github.com/kswedberg/jquery-tmbundle/zipball/master
- find the zip file on your local machine and double-click to unzip it
- change the file name from kswedberg-jquery-tmbundle-really_long_alpha_numeric_sequence to JavaScript jQuery.tmbundle (with a dot rather than a hyphen).
- double-click the JavaScript jQuery.tmbundle file
- open TextMate and select the following menu item: Bundles > Bundle Editor > Reload Bundles
- show the Bundle Editor (Bundles > Bundle Editor > Show Bundle Editor)
- scroll through the list of bundles to confirm that the bundle has been properly installed