ensure good rack version for @scottdavis and tweak a loading thing

This commit is contained in:
John Bintz 2012-02-25 21:54:41 -05:00
parent f3a48c4ec6
commit 002fda6a6b
2 changed files with 7 additions and 1 deletions

View File

@ -31,5 +31,6 @@ Gem::Specification.new do |gem|
gem.add_dependency 'thor' gem.add_dependency 'thor'
gem.add_dependency 'backbone-rails' gem.add_dependency 'backbone-rails'
gem.add_dependency 'rack', '~> 1.4.0'
end end

View File

@ -79,7 +79,12 @@ class Slide
class this.Attentive class this.Attentive
@setup: (identifier) -> @setup: (identifier) ->
starter = -> (new Attentive(identifier)).start() starter = ->
setTimeout(
->
(new Attentive(identifier)).start()
, 250
)
window.addEventListener('DOMContentLoaded', starter, false) window.addEventListener('DOMContentLoaded', starter, false)
constructor: (@identifier) -> constructor: (@identifier) ->