plugins: undefined, // Instance of _kiwi.model.PluginManager\r
events: undefined, // Instance of PluginInterface\r
utils: {}, // TODO: Re-usable methods\r
+ rpc: function() {\r
+ _kiwi.gateway.rpc.call.call(_kiwi.gateway.rpc, arguments);\r
+ },\r
\r
addMediaMessageType: function(match, buildHtml) {\r
_kiwi.view.MediaMessage.addType(match, buildHtml);\r
// Event emitter to let plugins interface with parts of kiwi\r
_kiwi.global.events = new PluginInterface();\r
\r
- // Let plugins interface with the RPC calls\r
- _kiwi.globals.rpcCall = _kiwi.gateway.rpcCall;\r
-\r
// Now everything has started up, load the plugin manager for third party plugins\r
_kiwi.global.plugins = new _kiwi.model.PluginManager();\r
\r