lib/middleman/ember/extension.rb in middleman-ember-0.2.0 vs lib/middleman/ember/extension.rb in middleman-ember-0.2.1

- old
+ new

@@ -1,6 +1,14 @@ require 'middleman-core' +require 'ember/source' +require 'handlebars/source' +begin + require 'ember/data/source' +rescue LoadError + # ember-data was not installed. +end + module Middleman module Ember class << self def registered(app, options_hash={}, &block) app.send :include, InstanceMethods