GithubHelp home page GithubHelp logo

icflorescu / aspax-coffee-handler Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 256 KB

Plugin enabling ASPAX to handle CoffeeScript files.

Home Page: aspax.github.io

License: MIT License

JavaScript 18.54% CoffeeScript 81.46%

aspax-coffee-handler's Introduction

What's this?

NPM version Dependency Status License Downloads

A plugin that enables ASPAX to handle CoffeeScript files.

Installation

Type this in the folder where you're running ASPAX:

npm install aspax-coffee-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-coffee-handler --save-dev

Usage

Simply add .coffee source files in aspax.yml:

app.js:
  - lib.js
  - script-1.coffee|bare
  - script-2.coffee

Available flags

  • bare: compile without the top-level function safety wrapper - see more here.

    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 and endorse me on LinkedIn:

Ionut-Cristian Florescu on LinkedIn

aspax-coffee-handler's People

Contributors

icflorescu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.