c680b417d96c4bfccd6252649705c16e23dbe5f1
1 // Holds anything kiwi client specific (ie. front, gateway, kiwi.plugs..)
13 * A global container for third party access
14 * Will be used to access a limited subset of kiwi functionality
15 * and data (think: plugins)
18 utils
: undefined, // Re-usable methods
22 command
: undefined, // The control box
24 // TODO: think of a better term for this as it will also refer to queries
27 // Entry point to start the kiwi application
28 start: function (opts
) {
31 kiwi
.app
= new kiwi
.model
.Application(opts
);
33 if (opts
.kiwi_server
) {
34 kiwi
.app
.kiwi_server
= opts
.kiwi_server
;
45 // If within a closure, expose the kiwi globals
46 if (typeof global
!== 'undefined') {
47 global
.kiwi
= kiwi
.global
;