why mRender loops twice?
why mRender loops twice?
macmac
Posts: 4Questions: 0Answers: 0
Hi All, I have the following code.
[code]
mRender: function(source, type, val) {
console.log(val);
}
[/code]
How come I get redundant result for this?
val parameter gives me 5 arrays, when I log it, it becomes 10 arrays.
Anyone knows why?
Thanks
Mac
[code]
mRender: function(source, type, val) {
console.log(val);
}
[/code]
How come I get redundant result for this?
val parameter gives me 5 arrays, when I log it, it becomes 10 arrays.
Anyone knows why?
Thanks
Mac
This discussion has been closed.
Replies
Allan
Thanks for replying. One last thing if return something using mRender, will it also return twice or multiple times?
Thanks a lot
Mac
Allan