Skip to content

Instantly share code, notes, and snippets.

@ef4
Created September 18, 2015 21:33
Show Gist options
  • Select an option

  • Save ef4/ab4e5fc2069b20c6bccf to your computer and use it in GitHub Desktop.

Select an option

Save ef4/ab4e5fc2069b20c6bccf to your computer and use it in GitHub Desktop.

List of places where jQuery's semantics are exposed in Ember's public API

  1. componentInstance.$
  2. Application.rootElement and ApplicationInstance.rootElement are "jQuery-compatible selectors".
  3. Acceptance test helpers (click and friends) accept arbitrary jQuery selectors.
  4. View.appendTo, replaceIn, findElementInParent accept jQuery selectors (I think this are is entirely legacy).
  5. All event handlers receive jQuery-wrapped events, not native browser events.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment