aspax-ls-handler v1.0.2
What's this?
A plugin that enables ASPAX to handle LiveScript files.
Installation
Type this in the folder where you're running ASPAX:
npm install aspax-ls-handlerIf 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-ls-handler --save-devUsage
Simply add .ls source files in aspax.yml:
app.js:
- lib.js
- script-1.ls|bare
- script-2.lsAvailable flags
bare: compile without the top-level function safety wrapper - see more here.Basically, this:
$ !-> console.log \hi!...compiles to this with the
bareflag:$(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 and endorse me on LinkedIn:
9 years ago
10 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
