Skip to content

Instantly share code, notes, and snippets.

@rwjblue
Created February 25, 2014 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rwjblue/9201325 to your computer and use it in GitHub Desktop.
Save rwjblue/9201325 to your computer and use it in GitHub Desktop.
function getDependentKeys(object, propertyNameBeingInspected) {
var meta = metaFor(object),
deps = Ember.get(meta, 'deps.' + propertyNameBeingInspected);
return Ember.keys(deps);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment