Currently the way things are (shitty) done, the trick to "mock" api for unsupported browser is awful cause you can for eg use Pjax.switches.blah.
After refactor on testling branch, I need to do something else.
Like just add a .isSupported method & document the fact that every call & ref usages should be prefixed by this test ?
Currently the way things are (shitty) done, the trick to "mock" api for unsupported browser is awful cause you can for eg use Pjax.switches.blah.
After refactor on testling branch, I need to do something else.
Like just add a .isSupported method & document the fact that every call & ref usages should be prefixed by this test ?
@MoOx Do we still need to support browsers that don't support the History API? According to caniuse, nearly 95% of browsers in use support it.
In my opinion, we should just have 1 check for isSupported() in the constructor before doing anything, and then make the user responsible for implementing a fallback.
@MoOx Do we still need to support browsers that don't support the History API? According to [caniuse](https://www.caniuse.com/#search=history), nearly 95% of browsers in use support it.
In my opinion, we should just have 1 check for `isSupported()` in the constructor before doing anything, and then make the user responsible for implementing a fallback.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Currently the way things are (shitty) done, the trick to "mock" api for unsupported browser is awful cause you can for eg use Pjax.switches.blah.
After refactor on testling branch, I need to do something else.
Like just add a .isSupported method & document the fact that every call & ref usages should be prefixed by this test ?
@MoOx Do we still need to support browsers that don't support the History API? According to caniuse, nearly 95% of browsers in use support it.
In my opinion, we should just have 1 check for
isSupported()in the constructor before doing anything, and then make the user responsible for implementing a fallback.2014, I guess we can just forget this.