Skip to content

Instantly share code, notes, and snippets.

@mindspank
Last active May 9, 2016 05:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mindspank/17e518f67f674c3caae5 to your computer and use it in GitHub Desktop.
Save mindspank/17e518f67f674c3caae5 to your computer and use it in GitHub Desktop.
Grab object IDs
(function() {
(function foo(node) {
if (node && node.$id) {
if (node.$$childHead) foo(node.$$childHead);
if (node.$$nextSibling) foo(node.$$nextSibling);
if (node.model && node.model.layout) node.model.layout.title = node.model.id;
}
})(qvangularGlobal.$rootScope);
$('*').css('-webkit-user-select', 'all');
pubsub.publish('/resize/end')
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment