bartaz/impress.js — pull request #112 by jeady (2012-03-04 00:19:10+00:00)
Title: Refactored impress.js into an object while maintaining backward-compatibility with v0.3

I refactored the impress.js source into an object with a couple of goals:
* Easier to extend and customize
* More concise source
* More comments in the source
* Backwards compatibility

I've managed to shave ~40 lines of code while (in my opinion at least) enhancing readability. The new impress function can either be constructed with `new impress()` in which case most CSS styles and parameters can be customized before beginning the presentation, or if simply called using `impress()` should return the same API you provided in v0.3. This is an enormous refactoring, I understand, so if you don't want to accept such a large pull request no worries at all, this was largely for my own use. I thought I'd offer my changes back in case anybody else is interested. Impress.js is fantastic, by the way. I'm really looking forward to seeing the kinds of presentations and websites that come out of tools like impress.js.

Keep up the fantastic work and let me know if you'd like to integrate my changes but would like me to make any more modifications first,
James