Fixed JS issue

This commit is contained in:
rpidikiti
2011-08-01 12:13:03 -07:00
parent 7bd8ebc2bc
commit 9223ddd3fa

View File

@@ -307,9 +307,9 @@ jQuery(function($) {
}); });
var apiSelectionController = ApiSelectionController.init(); window.apiSelectionController = ApiSelectionController.init();
if (this.baseUrl) { if (this.baseUrl) {
var resourceListController = ResourceListController.init({baseUrl: this.baseUrl, apiKey: this.apiKey}); window.resourceListController = ResourceListController.init({baseUrl: this.baseUrl, apiKey: this.apiKey});
} else { } else {
apiSelectionController.slapOn(); apiSelectionController.slapOn();
} }