Skip to content

Less jQuery, more runloop

Compare
Choose a tag to compare
@ZebraFlesh ZebraFlesh released this 17 May 23:58
· 2 commits to master since this release
  • Replaced some jQuery event handling with standard Ember event handling. I had no idea that Ember was already listening to mousemove events and my attempts at micro-optimization were futile. On the upside, most things will now happen in the run loop.
  • Some events needed to stay as jQuery events: selectstart (because it's not a standard Ember event and there's currently no way for an addon to modify Application.customEvents) and window.mouseup (because Ember misses mouse events outside of the root application object [or window; not sure which])
  • Upgraded to ember-cli 0.2.5
  • Yet more tests