From 7097cf5572e8f61b634c34e0dad86961b111b3b6 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Wed, 1 Jul 2015 20:45:14 +0100 Subject: Update node.js devDeps, tests, new mincer compat --- assets/stylesheets/_bootstrap-mincer.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets') diff --git a/assets/stylesheets/_bootstrap-mincer.scss b/assets/stylesheets/_bootstrap-mincer.scss index 7ec4657..0c4655e 100644 --- a/assets/stylesheets/_bootstrap-mincer.scss +++ b/assets/stylesheets/_bootstrap-mincer.scss @@ -9,11 +9,11 @@ // from "path/to/font.ext#suffix" to "<%- asset_path(path/to/font.ext)) + #suffix %>" // from "path/to/font.ext?#suffix" to "<%- asset_path(path/to/font.ext)) + ?#suffix %>" // or from "path/to/font.ext" just "<%- asset_path(path/to/font.ext)) %>" - @return "<%- asset_path('#{$path}'.replace(/[#?].*$/, '')) + '#{$path}'.replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>"; + @return "<%- asset_path("#{$path}".replace(/[#?].*$/, '')) + "#{$path}".replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>"; } @function twbs-image-path($file) { - @return "<%- asset_path('#{$file}') %>"; + @return "<%- asset_path("#{$file}") %>"; } $bootstrap-sass-asset-helper: true; -- cgit v1.2.3