harish-io / Impressionist

Visual tool to create impress.js presentations
693 stars 123 forks source link

One UA Check to Rule Them All #19

Closed ghost closed 12 years ago

ghost commented 12 years ago

This commit consolidates the various UA checks into a single function. I'm just getting started with the code, and am interested in working on issues preventing use in Firefox. Consolidating the UA checks into a single function will make it easier to change it while I'm hacking the code. Also, since $.browser is deprecated, we'll be able to start migrating to feature detection within the one function instead of having it sprinkled throughout the source. Cheers!