make tenantview method reslient of users with no site, catch users with no site in...
[plstackapi.git] / planetstack / core / xoslib / static / js / xosDeveloper.js
index 9063518..aef640e 100644 (file)
@@ -1,4 +1,10 @@
-DeveloperApp = new Marionette.Application();
+/* This is an example that uses xoslib + marionette to display the developer
+\r   view.
+\r
+\r   For an example that uses xoslib + datatables, see xosDeveloper_datatables.js
+\r*/
+\r
+\rDeveloperApp = new Marionette.Application();
 \r
 DeveloperApp.addRegions({\r
   mainRegion: "#developerView"\r
@@ -27,7 +33,6 @@ DeveloperApp.SliceListView = Marionette.CompositeView.extend({
       parts=$(e.currentTarget).attr("id").split('-');\r
       order=parts[1];\r
       fieldName=parts[2];\r
-      console.log(fieldName);\r
       this.collection.sortVar = fieldName;\r
       this.collection.sortOrder = order;\r
       this.collection.sort();\r
@@ -47,7 +52,6 @@ DeveloperApp.on("start", function() {
   var developerSliceListView = new DeveloperApp.SliceListView({
     collection: xos.slicesPlus\r
   });\r
-  console.log(developerSliceListView);\r
   DeveloperApp.mainRegion.show(developerSliceListView);\r
   xos.slicesPlus.startPolling();\r
 });