golf 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/golf/compiler.rb +1 -3
- data/lib/golf/version.rb +1 -1
- metadata +1 -1
data/lib/golf/compiler.rb
CHANGED
@@ -167,8 +167,6 @@ module Golf
|
|
167
167
|
(doc/'//style').remove
|
168
168
|
(doc/'//script').remove
|
169
169
|
|
170
|
-
puts doc.to_s
|
171
|
-
|
172
170
|
arr["html"] = doc.to_s
|
173
171
|
|
174
172
|
#load from files, ".js.coffee", etc
|
@@ -181,7 +179,7 @@ module Golf
|
|
181
179
|
arr[output_type] = filtered_read(file_path)
|
182
180
|
else
|
183
181
|
extension = file_path.split('/').last.split('.').last
|
184
|
-
arr[extension] = File.read(file_path)
|
182
|
+
arr[extension] = File.read(file_path) unless extension == "html"
|
185
183
|
end
|
186
184
|
end
|
187
185
|
arr
|
data/lib/golf/version.rb
CHANGED