zfben_rails_assets 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/asset_format/js.rb +1 -1
- data/zfben_rails_assets.gemspec +1 -1
- metadata +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
class AssetFormat::Js < AssetFormat
|
2
2
|
CONTENT_TYPE = 'text/javascript'
|
3
|
-
IMPORT = /[\/\*]{2}\s*@import[ "'\(]+([^\s"'\);]+)[
|
3
|
+
IMPORT = /[\/\*]{0,2}\s*@import[ "'\(]+([^\s"'\);]+)[\s"'\);]*[\*\/]{0,2}/
|
4
4
|
IMPORT_COFFEE = /# *@import[ "'\(]+([^\s"'\);]+)[ "'\)]*/
|
5
5
|
EXTEND_FORMATS = [:coffee]
|
6
6
|
|
data/zfben_rails_assets.gemspec
CHANGED