lib/octopress-ink/assets/coffeescript.rb in octopress-ink-1.0.0 vs lib/octopress-ink/assets/coffeescript.rb in octopress-ink-1.1.0

- old
+ new

@@ -1,10 +1,11 @@ module Octopress module Ink module Assets class Coffeescript < Javascript - def tag - %{<script src="#{Filters.expand_url(File.join(dir, File.basename(file, '.*') << '.js'))}"></script>} + + def tag_path + Filters.expand_url(File.join(dir, File.basename(file, '.*') << '.js')) end def add Plugins.add_js_tag tag Plugins.static_files << StaticFileContent.new(content, destination)