bartaz/impress.js — pull request #177 by ricardrobin (2012-07-11 22:12:04+00:00)
Title: Some enhancements

I'm doing a massive pull request with a lot of different things in there (and I'm sorry for that but I do not have my standard dev env right now, just a web interface that can access to github !).

Ok, here's what comes packed here :

- I moved the slideshow logic to an another file (you should pack it with rails asset pipeline if you want to generate one file. For now ... So I will try to create a build tool for impress)
- I deleted the browser feature detection, I think modernizr should handle that with yepnope to avoid loading the whole impress.js file if it's not supposed to work on your browser and it can detect other features.
- Impress.js supports push state api ! (I supposed that every browser that supports 3d transforms should support this api). Anyway, just add a new data attribute to the root, and you're good to go if your server is able to handle this behind ... (example : `data-push-state-pattern="/:step.html"` will match every url with the step name supplied)

So feel free to keep what you like (every commit does one unique thing at a time, so grab some diffs as you want).