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

- old
+ new

@@ -1,13 +1,13 @@ -# Generate script code for Google Analytics with Liquid Tag -require 'jekyll' -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() - print "Reading newly generated bower components" - jekyll.reset() - jekyll.read() - print "Looks like verything is ready" +# Generate script code for Google Analytics with Liquid Tag +require 'jekyll' +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() + print "Reading newly generated bower components" + jekyll.reset() + jekyll.read() + print "Looks like verything is ready" end \ No newline at end of file