marionette - JST Template Engine with Slim & Coffeescript -


this wiki page explains how create directory of javascript templates can accessed jst object in dom:

https://github.com/marionettejs/backbone.marionette/wiki/using-jst-templates-with-marionette

jst stands javascript templates. feature — available default in rails 3.1 (see notes)— allows distribute javascript templates ready-to-use functions in scripts.

this mechanism useful because avoids having download templates asynchronously or distribute them in source code of pages.

(please refer post further info)

the example template engines given include pairing simple html embedded javascript , coffeescript, , haml files embedded coffeescript.

i wondering if there similar template engine available uses slim , coffeescript, allow me achieve same result.

for interested, have found engine looking for: https://github.com/jfirebaugh/skim

it's rails projects (for time being), enables creation of javascript templates using slim.

it's similar haml_coffee (https://github.com/netzpirat/haml_coffee_assets), uses slim instead of haml


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -