Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Lints and / or compresses the current JS and CSS file on save using Node.js
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Commands
Support
README.md
info.plist

README.md

CSS and JS Optimiser TextMate Bundle

A simple TextMate bundle based on Better JsLint in TextMate by Felix Gnass that integrates YUI Compressor and JSLint into your dev workflow.

Features:

  • On save ( ⌘S ) the current:
    • CSS file is compressed using YUI Compressor
    • JS file is validated using JSLint. If valid, the file is then run through YUI Compressor. Otherwise hyperlinked errors are reported back for fixing.
  • Can be bypassed with ( ⇧⌘S )
  • Output is only shown when errors are found
  • Window is automatically closed when it looses focus
  • Built on Node.js
  • Uses an unmodified versions of JSLint and YUI Compressor

Installation

  1. Install Node.js (if not already installed)
  2. Download the zip and add '.tmbundle' as the extension.
  3. Double-click the bundle to install.

Inspired By

Something went wrong with that request. Please try again.