// 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
} else {\r
// Not within a closure so set a var in the current scope\r
var kiwi = _kiwi.global;\r
-}
\ No newline at end of file
+}\r