-kiwi.model.Applet = kiwi.model.Panel.extend({\r
+_kiwi.model.Applet = _kiwi.model.Panel.extend({\r
// Used to determine if this is an applet panel. Applet panel tabs are treated\r
// differently than others\r
applet: true,\r
initialize: function (attributes) {\r
// Temporary name\r
var name = "applet_"+(new Date().getTime().toString()) + Math.ceil(Math.random()*100).toString();\r
- this.view = new kiwi.view.Applet({model: this, name: name});\r
+ this.view = new _kiwi.view.Applet({model: this, name: name});\r
\r
this.set({\r
"name": name\r
this.view.$el.html('Loading..');\r
$script(applet_url, function () {\r
// Check if the applet loaded OK\r
- if (!kiwi.applets[applet_name]) {\r
+ if (!_kiwi.applets[applet_name]) {\r
that.view.$el.html('Not found');\r
return;\r
}\r
\r
// Load a new instance of this applet\r
- that.load(new kiwi.applets[applet_name]());\r
+ that.load(new _kiwi.applets[applet_name]());\r
});\r
},\r
\r