Skip to content

Instantly share code, notes, and snippets.

@mde
Created March 23, 2016 22:00
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 mde/5a62ad0d4efae31ccfaf to your computer and use it in GitHub Desktop.
Save mde/5a62ad0d4efae31ccfaf to your computer and use it in GitHub Desktop.
var Foo = Ember.Object.extend({zerb: function () {}});
undefined
var bar = Foo.create();
undefined
JSON.stringify(bar);
"{}"
bar.set('asdf', 'ASDF');
Class {asdf: "ASDF", __ember1458770221107: null, __nextSuper: undefined, __ember_meta__: Object}
JSON.stringify(bar);
"{"asdf":"ASDF"}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment