stylesheets/flint/functions/lib/_replace-substring.scss in flint-gs-2.1.4 vs stylesheets/flint/functions/lib/_replace-substring.scss in flint-gs-2.2.0
- old
+ new
@@ -12,10 +12,10 @@
/// @group Internal Functions
///
@function flint-replace-substring($string, $substring, $new-substring: " ") {
// Use Ruby function if available
- @if $flint__use-ruby-functions {
+ @if $flint-use-ruby-functions {
@return flint_ruby_replace_substring($string, $substring, $new-substring);
} @else {
// Loop through length of string
@for $i from 1 through str-length($string) {
// Get index and length of substring