You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a Class you need to wrap it around the following code. The Reason for this is to automatically execute this blank function.
(function(window) {function SearchView() {
}window.SearchView = SearchView;}(window));
It is important to remember that in order to access the new class you need to create an instances of it and make it accessible globally. This is the line which insures that happens.