lib/sprockets/source_line.rb in sprockets-1.0.1 vs lib/sprockets/source_line.rb in sprockets-1.0.2
- old
+ new
@@ -27,14 +27,14 @@
def begins_pdoc_comment?
line =~ /^\s*\/\*\*(.*)/
end
def ends_multiline_comment?
- line =~ /^(.*)*\*\/\s*/
+ line =~ /^(.*)\*\/\s*/
end
def ends_pdoc_comment?
- line =~ /^(.*)*\*\*\/\s*/
+ line =~ /^(.*)\*\*\/\s*/
end
def require
@require ||= (comment || "")[/^=\s+require\s+(\"(.*?)\"|<(.*?)>)\s*$/, 1]
end