Objects in Class object don't work #2246

Closed
jeffchan opened this Issue Jan 22, 2012 · 1 comment

Projects

None yet

1 participant

@jeffchan

Objects in Class object don't work.

http://jsfiddle.net/6tyNS/1/


var Test = new Class({
    examplekey: {
        'a': 'b'
    },
    initialize: function() {
        document.write(this.examplekey.hasOwnProperty('a')); // gives me false
    }

});

new Test();

Nevermind. #2057

@jeffchan jeffchan closed this Jan 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment