lib/ember-rails.rb in ember-rails-0.2.4 vs lib/ember-rails.rb in ember-rails-0.3.1
- old
+ new
@@ -1,14 +2 @@
-require 'sprockets'
-require 'sprockets/engines'
-require 'ember-rails/hjs_template'
-
-module EmberRails
- class Engine < Rails::Engine
- end
-
- # Registers the HandlebarsJS template engine so that
- # an asset file having the extension ".hjs" is processed
- # by the asset pipeline and converted to javascript code.
- Sprockets.register_engine '.hjs', HjsTemplate
- Sprockets.register_engine '.handlebars', HjsTemplate
-end
+require 'ember_rails'