Skip to content

Commit

Permalink
Fixes #60: Remove included CoffeeScript library and use the one in th…
Browse files Browse the repository at this point in the history
…e gem instead.
  • Loading branch information
paulyoung committed Aug 9, 2012
1 parent 5bab6e3 commit 2ed0114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 3 additions & 1 deletion lib/haml_coffee_assets/compiler.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# coding: UTF-8

require 'coffee-script'

# Haml Coffee Assets main module
#
module HamlCoffeeAssets
Expand Down Expand Up @@ -68,7 +70,7 @@ def haml_coffee
# @return [String] the source
#
def coffeescript
read_js 'coffee-script.js'
File.read CoffeeScript::Source.bundled_path
end

# Read a JavaScript file from the `js` dir.
Expand Down
8 changes: 0 additions & 8 deletions lib/js/coffee-script.js

This file was deleted.

0 comments on commit 2ed0114

Please sign in to comment.