mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
converter: ruby < 2 does not have Range#size
This commit is contained in:
parent
d12c606ba5
commit
dd477a87c4
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ private
|
|||
positions.each do |p|
|
||||
p = (p.begin + offset .. p.end + offset)
|
||||
r = block.call(css, p)
|
||||
offset += r.size - p.size
|
||||
offset += r.size - (p.end - p.begin + 1)
|
||||
css[p] = r
|
||||
end
|
||||
css
|
||||
|
|
Loading…
Add table
Reference in a new issue