devpunks/snuggsi

๐Ÿ› BUG if page is done loading early `<nav-router>` doesn't work.

Closed this issue ยท 0 comments

@Robertchristopher There is a bug in source code. I noticed it when removing browser-sync lib from page. Which forces page to load faster than usual. Thus firing onload(ed) directly. We had an internal API name change and didn't update that edge case. Like I always say the bugs are in the logic statements.

https://github.com/devpunks/snuggsi/blob/master/examples/nav-view/index.es#L8-L13
capture d ecran 2017-06-21 a 11 01 50
capture d ecran 2017-06-21 a 11 07 16