youtube / spfjs

A lightweight JS framework for fast navigation and page updates from YouTube
https://youtube.github.io/spfjs/
MIT License
2.23k stars 147 forks source link

spf.config without init #419

Open tchiotludo opened 8 years ago

tchiotludo commented 8 years ago

I need to set a configuration variable with init spf. I only use the spf.process method without using navigate (because I need to handle fragments myself). Calling spf.init will auto enable spf.history manager & broke mine.

I add a spf.config method that can set a configuration variable without init spf.