Quantcast
Viewing all articles
Browse latest Browse all 13053

(javascript) Context setter : Problem with sideview

Dear all,

I've tried to set a token for a $foo$-variable in javascritp using the context.set-method, but it doesn't work as expected - here is an example, what I've done (simplified).

var context = this.getContext();
context.set("foofoo", "bla"); 
console.log(context); // Within that object - "foofoo" is set to "bla"
var context1 = this.getContext();
console.log(context1); // no "foofoo" key

I'm new at developing with sideview, so I think, I missed some methods or I have a logical knot in my brain :)

Please help! Thx, Robert


Viewing all articles
Browse latest Browse all 13053

Trending Articles