phuibonhoa / Javascript-Bundle-Extension

Supplements default javascript bundle with JQuery support and more!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Javascript Extension TextMate Bundle

##Description

This bundle is meant to extend the javascript bundle that comes with Textmate and mainly adds JQuery support but also adds other javascript helpers. Installing this bundle will not conflict with the default Javascript bundle; they should work hand-in-hand.

####Changes

  • docready⇥ $(document).ready(function(){ ...
  • con⇥ console.log()
  • func⇥ function(){ ...
  • $⇥ $("")
  • Typing $ with text selected automatically inserts text inside $("")
  • Lots more!

##Installation

  1. $ cd ~/Library/Application\ Support/TextMate/Bundles/
  2. $ git clone git://github.com/phuibonhoa/Javascript-Bundle-Extension.git JavascriptExtension.tmbundle
  3. $ osascript -e 'tell app "TextMate" to reload bundles'

If you'd like to install all my bundles, check out this script written by mkdynamic. It installs all bundles and backups any existing bundles with conflicting names. Thanks Mark!

##My Other Textmate Bundles My bundles work best when use in conjunction with my other bundles:

##Credits

BookRenter.com Logo

Written by Philippe Huibonhoa and funded by BookRenter.com.

About

Supplements default javascript bundle with JQuery support and more!