Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

How to check if a controller is initialized ?

$
0
0
Hi I am trying to find a function that return a Boolean if the controller in argument is initialized  for exemple.
  1. if(!initiatilze(MyController)){
  2.       
  3. $("#followersList").followers({
  4. });
  5. }else{
  6.  Do something else...
  7. }
Is anyone knows a function like this ?
Thanks 

Viewing all articles
Browse latest Browse all 3491

Trending Articles