Skip to content

Instantly share code, notes, and snippets.

View gillesruppert's full-sized avatar

Gilles Ruppert gillesruppert

View GitHub Profile

{COMPONENT_NAME}

component description and usage

Images supporting the documentation or more extensive documentation should go into the docs folder.

Working example should go into the example folder.

@gillesruppert
gillesruppert / expected html
Created June 27, 2013 10:44
Marionette.CollectionView for a select box
<select> // CollectionView.el
<option value="modelId">Model.name</option> // ItemView for the model
</select>
<!--
can you have Marionette views that do not have a template without overriding the render method? Overriding the render method is painful as you have to implement the `isClosed setting plus all the event triggers, so it keeps working with all the Marionette hooks, or am I mistaken?
-->

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2: