Base to load all the Plugins, also includes some mandatory plugins
当前为
Base to load all the Plugins, also includes some mandatory plugins
Everything is based on events that plugins can listen to for the information they need.
Plugins should run at document-start so they can put themself into the window.plugins object before the core loads.
When the document has loaded the core will automatically look and bind some functions in the plugins
Events can be bound or fired using the events object
events.onevents.on(this, 'Event1,Event2', callbackFunction, true/false)
events.unbindevents.unbind('Event1,Event2', callbackFunction)
events.onceevents.once(this, 'Event1,Event2', callbackFunction, true/false)
events.fireevents.fire('EventName', [arg1, arg2], true/false)
Loading priorities soon
Public variables can be accessed through window.plugins.plugin.variable:
core.listeners all the listeners bound in events
core.connected are we connected to the room?
The core will look for settings in 'plugin.setting'
See InstaSynchP Settings
Copyright (C) 2013 InstaSynch
Copyright (C) 2014 Zod-
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址