mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-09-12 07:10:07 +02:00
replace old Events class
This commit is contained in:
parent
c1c022c96b
commit
2c59e37bf6
@ -18,7 +18,7 @@
|
||||
|
||||
//noinspection JSUnusedLocalSymbols
|
||||
mindplot.ActionDispatcher = new Class({
|
||||
Implements:[Events],
|
||||
Implements:[mindplot.Events],
|
||||
initialize: function(commandContext) {
|
||||
$assert(commandContext, "commandContext can not be null");
|
||||
},
|
||||
|
@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
mindplot.DesignerModel = new Class({
|
||||
Implements:[Events],
|
||||
Implements:[mindplot.Events],
|
||||
initialize:function (options) {
|
||||
this._zoom = options.zoom;
|
||||
this._topics = [];
|
||||
|
@ -16,7 +16,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
mindplot.EventBus = new Class({
|
||||
Implements:Events,
|
||||
Implements: mindplot.Events,
|
||||
initialize: function() {
|
||||
}
|
||||
});
|
||||
|
@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
mindplot.widget.FloatingTip = new Class({
|
||||
Implements: [Options, Events],
|
||||
Implements: [Options, mindplot.Events],
|
||||
|
||||
options: {
|
||||
position: 'top',
|
||||
|
@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
mindplot.widget.ToolbarItem = new Class({
|
||||
Implements:[Events],
|
||||
Implements: mindplot.Events, //FIXME: should be extends?
|
||||
initialize : function(buttonId, fn, options) {
|
||||
$assert(buttonId, "buttonId can not be null");
|
||||
$assert(fn, "fn can not be null");
|
||||
|
Loading…
Reference in New Issue
Block a user