lib/jekyll-bower.rb in jekyll-bower-1.0.7 vs lib/jekyll-bower.rb in jekyll-bower-1.1.0

- old
+ new

@@ -3,10 +3,11 @@ require 'jekyll/bower_plugin' require 'jekyll/plugin_version' # Register Jekyll Site Post Read hook of Bower plugin Jekyll::Hooks.register :site, :pre_render do |jekyll| # jekyll here acts as site global object - Jekyll::Bower.new() + JekyllBower = Jekyll::Bower.new() + JekyllBower.resolve(jekyll) print "Reading newly generated bower components" jekyll.reset() jekyll.read() print "Looks like verything is ready" end \ No newline at end of file