Monday, 26 August 2013

Javascript class instance not found

Javascript class instance not found

I am using MonocleMVC. I am creating a new class instance with the
following code :
__Controller.Lists = new ListCtrl('article#lists')
(__ internally refers to Monocle)
The code inside ListCtrl works, but I can't access the variable
__Controller.Lists. It says it is undefined.
However, __Controler.Sessions is defined in the following code :
__Controller.Sessions = new SessionCtrl('section#splash')

No comments:

Post a Comment