git.s-ol.nu mmm / 3d5e486
cast for URL s-ol 22 days ago
1 changed file(s) with 7 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2828 inp: 'text/plain'
2929 out: 'mmm/dom'
3030 transform: (val) -> text val
31 }
31 },
32 {
33 inp: 'URL.*'
34 out: 'mmm/dom'
35 transform: (href) -> span a href, :href
36 },
3237 }
3338
3439 for convert in *converts
5863 window.history\pushState path, '', vis_path
5964
6065 window.onpopstate = (_, event) ->
61 if event.state
66 if event.state and not event.state == js.null
6267 @skip = true
6368 @path\set event.state
6469 @skip = nil