2017 © Pedro Peláez
 

library coffeescript-bundle

An assetic filter for CoffeeScript in pure PHP implementation

image

lilweb/coffeescript-bundle

An assetic filter for CoffeeScript in pure PHP implementation

  • Wednesday, November 13, 2013
  • by iammichiel
  • Repository
  • 2 Watchers
  • 0 Stars
  • 1,395 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

LilwebCoffeescriptBundle

A Symfony2 bundle with an Assetic filter to use Coffeescript. There is no requirement on Nodejs for this bundle as the Coffeescript interpreter is a pure PHP implementation by @alxit., (*1)

Installation

Add the bundle to your composer.json :, (*2)

...
"lilweb/coffeescript-bundle" : "0.0.1",
...

And add the bundle to your AppKernel file :, (*3)

new Lilweb\CoffeescriptBundle\LilwebCoffeescriptBundle()

Usage

In your twig file, use the coffeescript filter :, (*4)

{% javascripts filter="coffeescript"
     '@AcmeBundle/Resources/assets/coffee/main.coffee'
%}
     <script type="text/javascript" src="{{ asset_url }}"></script>
{% endjavascripts %}

The Versions

13/11 2013

dev-master

9999999-dev https://github.com/lilweb/LilwebCoffeescriptBundle

An assetic filter for CoffeeScript in pure PHP implementation

  Sources   Download

MIT

The Requires

 

by Michiel Missotten

symfony2 assetic coffeescript

31/10 2013

0.0.1

0.0.1.0 https://github.com/lilweb/LilwebCoffeescriptBundle

An assetic filter for CoffeeScript in pure PHP implementation

  Sources   Download

MIT

The Requires

 

by Michiel Missotten

symfony2 assetic coffeescript