mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-23 20:03:48 +01:00
replace old Events class
This commit is contained in:
parent
bd70f3b609
commit
48c7fe2a96
@ -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