Skip to content

Instantly share code, notes, and snippets.

@ryanwood
Created May 23, 2012 13:28
Show Gist options
  • Save ryanwood/2775235 to your computer and use it in GitHub Desktop.
Save ryanwood/2775235 to your computer and use it in GitHub Desktop.
Problems with Skim
# app/assets/javascripts/forms.js.coffee
jQuery ->
class FormsView extends Backbone.View
el: $('#forms')
initialize: ->
_.bindAll @
@render()
render: ->
$(@el).append( JST['forms/index'] { word: 'Test' } )
listView = new FormsView
...
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
gem 'skim'
end
gem 'jquery-rails'
gem 'devise'
gem 'slim'
gem 'responders'
gem 'cancan'
gem 'simple_form', git: 'https://github.com/plataformatec/simple_form.git'
gem 'will_paginate', '~> 3.0.2'
gem 'settingslogic'
gem 'paperclip'
gem 'carmen'
gem 'heroku'
gem 'airbrake'
gem 'fog', '~> 1.1.2'
# Sidekiq related gems:
gem 'sidekiq'
gem 'sinatra'
gem 'stripe'
gem 'backbone-on-rails'
...
# app/assets/templates/forms/index.jst.skim
p This is from <strong>Skim</strong>. #{ @word }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment