README.md in vitrine-0.0.29 vs README.md in vitrine-0.0.30
- old
+ new
@@ -101,12 +101,12 @@
You can also only opt-in to the asset compilation system of Vitrine only once you have migrated your app from
the prototype stage into, say, a Sinatra application.
Note that you _need_ to have an `ExecJS` environment on your server for this:
-
- use Vitrine::AssetCompiler.new do | ac |
- vitrine.settings.set :root => File.dirname(__FILE__)
+
+ use Vitrine::AssetCompiler do | ac |
+ ac.settings.set :root => File.dirname(__FILE__)
end
But you can also choose to have your JSON-serving API backend at the end of the Rack stack, and `Vitrine`
on top of it for assets and templating - the choice is entirelly up to you.