https://github.com/icflorescu/aspax-iced-handler
Plugin enabling ASPAX to handle IcedCoffeeScript files.
https://github.com/icflorescu/aspax-iced-handler
Last synced: 10 months ago
JSON representation
Plugin enabling ASPAX to handle IcedCoffeeScript files.
- Host: GitHub
- URL: https://github.com/icflorescu/aspax-iced-handler
- Owner: icflorescu
- License: mit
- Created: 2013-12-22T20:45:45.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-05-22T01:05:29.000Z (over 9 years ago)
- Last Synced: 2025-03-07T04:20:32.462Z (10 months ago)
- Language: CoffeeScript
- Homepage: aspax.github.io
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## What's this?
[![NPM version][npm-image]][npm-url]
[![Dependency Status][david-image]][david-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]
A plugin that enables [ASPAX](http://aspax.github.io) to handle [IcedCoffeeScript](http://maxtaco.github.io/coffee-script) files.
## Installation
Type this in the folder where you're running ASPAX:
npm install aspax-iced-handler
If you're running ASPAX in a Node.js application root folder, consider using the `--save-dev` option to avoid deploying this plugin to your production environment:
npm install aspax-iced-handler --save-dev
## Usage
Simply add `.iced` source files in `aspax.yml`:
app.js:
- lib.js
- script-1.iced|bare
- script-2.iced
## Available flags
- `bare`: compile without the top-level function safety wrapper - see more [here](http://maxtaco.github.io/coffee-script/#usage).
Basically, this:
$ -> console.log 'hi!'
...compiles to this **with** the `bare` flag:
$(function() {
return console.log("hi!");
});
...and to this **without** the flag:
(function() {
$(function() {
return console.log("hi!");
});
}).call(this);
## Endorsing the author
If you find this piece of software useful, please [tweet about ASPAX](http://twitter.com/share?text=Checkout%20ASPAX%2C%20the%20simple%20Node.js%20asset%20packager!&url=http%3A%2F%2Faspax.github.io&hashtags=aspax&via=icflorescu) and endorse me on LinkedIn:
[](https://www.linkedin.com/in/icflorescu)
[npm-image]: https://img.shields.io/npm/v/aspax-iced-handler.svg?style=flat-square
[npm-url]: https://npmjs.org/package/aspax-iced-handler
[david-image]: http://img.shields.io/david/icflorescu/aspax-iced-handler.svg?style=flat-square
[david-url]: https://david-dm.org/icflorescu/aspax-iced-handler
[license-image]: http://img.shields.io/npm/l/aspax-iced-handler.svg?style=flat-square
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/aspax-iced-handler.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/aspax-iced-handler