Closed tshemsedinov closed 8 years ago
Plugin file: impress.<pluginName>.js
impress.<pluginName>.js
impress.<pluginName>.mixin = function(application)
mixin
application.<pluginName>.init function()
application.on
start
clientConnect
mixImpress
impress
Merged with https://github.com/metarhia/Impress/issues/511
Plugin file:
impress.<pluginName>.js
impress.<pluginName>.mixin = function(application)
to be optionally called if existsmixin
called it setsapplication.<pluginName>.init function()
to be optionally called if neededmixin
it may setapplication.on
events, e.g. :start
,clientConnect
, etc.mixImpress
it indicates do we need mix it to the main applicationimpress