Skip to content

Commit

Permalink
string-slice bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Black Mirror committed Apr 27, 2018
1 parent 9d548fa commit fca61cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scss/types/_string.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
/// @access public
/// @param {string} $s - the string
/// @param {string} $from [1] - the needle
/// @param {string} $to [null] - the needle
/// @param {string} $to [-1] - the needle
/// @return {number}
@function string-slice($s, $from: 1, $to: null) {
@function string-slice($s, $from: 1, $to: -1) {
@return str-slice($s, $from, $to);
}

Expand Down

0 comments on commit fca61cd

Please sign in to comment.