History

Simplify version path separator

Ref #25.

Thibaut Courouble committed 10 years ago

Commit 16ddcb11 parent fd2907d6 files · +22 −22Browse files

Showing the changes to assets/javascripts (1 of 6 files). Show all

Unified · Split

assets/javascripts/models/doc.coffee+1−1
@@ -4,7 +4,7 @@ class app.models.Doc extends app.Model · 3 unmodified lines
44 constructor: ->
55 super
66 @reset @
7− @slug_without_version = @slug.split('~v')[0]
7+ @slug_without_version = @slug.split('~')[0]
88 @fullName = "#{@name}" + if @version then " #{@version}" else ''
99 @icon = @slug_without_version
1010 @text = @toEntry().text