mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
libsass-compatible quotes. see also #506
This commit is contained in:
parent
311f84c8c3
commit
d3a34e06b3
2 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ class Converter
|
||||||
// a flag to toggle asset pipeline / compass integration
|
// a flag to toggle asset pipeline / compass integration
|
||||||
// defaults to true if twbs-font-path function is present (no function => twbs-font-path('') parsed as string == right side)
|
// defaults to true if twbs-font-path function is present (no function => twbs-font-path('') parsed as string == right side)
|
||||||
// in Sass 3.3 this can be improved with: function-exists(twbs-font-path)
|
// in Sass 3.3 this can be improved with: function-exists(twbs-font-path)
|
||||||
$bootstrap-sass-asset-helper: (twbs-font-path('') != unquote("twbs-font-path('')")) !default;
|
$bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")')) !default;
|
||||||
SCSS
|
SCSS
|
||||||
file = replace_all file, /(\$icon-font-path:).*(!default)/, '\1 "bootstrap/" \2'
|
file = replace_all file, /(\$icon-font-path:).*(!default)/, '\1 "bootstrap/" \2'
|
||||||
when 'close.less'
|
when 'close.less'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// a flag to toggle asset pipeline / compass integration
|
// a flag to toggle asset pipeline / compass integration
|
||||||
// defaults to true if twbs-font-path function is present (no function => twbs-font-path('') parsed as string == right side)
|
// defaults to true if twbs-font-path function is present (no function => twbs-font-path('') parsed as string == right side)
|
||||||
// in Sass 3.3 this can be improved with: function-exists(twbs-font-path)
|
// in Sass 3.3 this can be improved with: function-exists(twbs-font-path)
|
||||||
$bootstrap-sass-asset-helper: (twbs-font-path('') != unquote("twbs-font-path('')")) !default;
|
$bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")')) !default;
|
||||||
//
|
//
|
||||||
// Variables
|
// Variables
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue