Permalink
Browse files

Fixed bug in interpolable strings

1 parent 63c8ffa commit 6e784370f57bac72bc08e90928501481cb1175b2 @michaelvillar committed May 12, 2016
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/dynamics.coffee
View
@@ -244,7 +244,10 @@ class InterpolableString
})
matches = matches.sort((a, b) ->
- a.index > b.index
+ if a.index > b.index
+ 1
+ else
+ -1
)
parts = []

0 comments on commit 6e78437

Please sign in to comment.