not cloning objects #1

Closed
icodeforlove opened this Issue Nov 7, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

icodeforlove commented Nov 7, 2012

when doing something like

cubby.set('something', {foo: 'bar'});
var foo = cubby.get('foo');
foo.bar = 'foo';

it actually will manipulate the values inside of the cubby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment