                   type         : "application"
                 , (appView = new KDView)
                 
-                appInstance = eval appScript
-                appInstance()
+                eval appScript
+                
+                return appView
+
                 # appInstance = Function(appScript)
-                # do (appView)=> appInstance.call @, appView
+                # do (appView)=> appInstance.call null, appView
 
 
 # appView.addSubView a = new KDView

            tagName : "p"
            partial : "#{manifest.name} v#{manifest.version}"
            click   : => 
              kac.getApp manifest.name, (appScript)=>
                mainView = @getSingleton('mainView')
                mainView.mainTabView.showPaneByView
                  name         : manifest.name

      tagName : "span"
      partial : "fetching apps..."
    
    kodingAppsController = @getSingleton("kodingAppsController")

    kodingAppsController.fetchApps (apps)=>

      temp.destroy()
      for app, manifest of apps
