Skip to content

Instantly share code, notes, and snippets.

@kasperlewau
Last active August 29, 2015 14:25
Show Gist options
  • Save kasperlewau/b54c559126584436cbd6 to your computer and use it in GitHub Desktop.
Save kasperlewau/b54c559126584436cbd6 to your computer and use it in GitHub Desktop.
/**
* Directive, '@' properties isolate scope, not passing any values.
* commit: https://github.com/angular/angular.js/pull/11628/files
*/
var obj = { fbHref: undefined, fbLayout: undefined, fbAction: undefined, fbShowFaces: undefined, fbShare: undefined };
var keys = Object.keys(obj);
# 1.4.2
LOG: 'obj.keys', ['fbHref', 'fbLayout', 'fbAction', 'fbShowFaces', 'fbShare']
LOG: 'opts', Object{fbHref: undefined, fbLayout: undefined, fbAction: undefined, fbShowFaces: undefined, fbShare: undefined}
# 1.3.15
LOG: 'obj.keys', []
LOG: 'opts', Object{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment