jimmydivvy
2/23/2014 - 8:58 AM

Bacon.Model bug?

Bacon.Model bug?

    var bob = Bacon.Model({
         name: "Bob",
         age: 30
    });

    console.log( bob.lens("name").get() ); // "Bob" as expected

    Bacon.constant(1).onValue(function(){
        console.log( bob.lens("name").get() ); // Undefined
    });