comparison app/assets/javascripts/application.coffee @ 404:3d434e15ddb1

Already have the default.
author nanaya <me@myconan.net>
date Sun, 06 Sep 2015 04:35:11 +0900
parents a18e19139f57
children 26c1b0b8edbe
comparison
equal deleted inserted replaced
403:e0626046579a 404:3d434e15ddb1
15 15
16 16
17 setHash = (newLocation = window.location.pathname) -> 17 setHash = (newLocation = window.location.pathname) ->
18 return unless history.replaceState 18 return unless history.replaceState
19 19
20 newLocation ||= window.location.pathname
21 history.replaceState null, "", newLocation 20 history.replaceState null, "", newLocation
22 21
23 22
24 markdownfy = (plaintext) -> 23 markdownfy = (plaintext) ->
25 reader = new commonmark.Parser 24 reader = new commonmark.Parser