2014년 12월 14일 일요일

[backbonejs] out of scope message

I have made this jsbin where you will find backbone code in the js pane.

The problem has to do with some messages(3) in the console....all related with a variable(buttons) being out of scope.

I cannot understand why these messages appears.

Just go and see and tell me what you think.



No JS errors in the console. Ok button in modal doesn't work though. 



I know that the OK button has some issues-leave that for now.

The error messages do not appear neither on the jsbin console nor the dev tools console. 
The message appear in the bottom of the js pane-I am attaching a screenshot for you to see.




you were absolutely right....the curly braces was the source of the error.
I really cannot think how these ended up there.

Anyway...thanks

댓글 없음:

댓글 쓰기