Ref #25.
Showing the changes to assets/javascripts (1 of 6 files). Show all
Unified · Split
| @@ -4,7 +4,7 @@ class app.models.Doc extends app.Model · 3 unmodified lines | ||
| 4 | 4 | constructor: -> |
| 5 | 5 | super |
| 6 | 6 | @reset @ |
| 7 | − @slug_without_version = @slug.split('~v')[0] | |
| 7 | + @slug_without_version = @slug.split('~')[0] | |
| 8 | 8 | @fullName = "#{@name}" + if @version then " #{@version}" else '' |
| 9 | 9 | @icon = @slug_without_version |
| 10 | 10 | @text = @toEntry().text |