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
|
//noinspection JSUnusedLocalSymbols
|
||||||
mindplot.ActionDispatcher = new Class({
|
mindplot.ActionDispatcher = new Class({
|
||||||
Implements:[Events],
|
Implements:[mindplot.Events],
|
||||||
initialize: function(commandContext) {
|
initialize: function(commandContext) {
|
||||||
$assert(commandContext, "commandContext can not be null");
|
$assert(commandContext, "commandContext can not be null");
|
||||||
},
|
},
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
mindplot.DesignerModel = new Class({
|
mindplot.DesignerModel = new Class({
|
||||||
Implements:[Events],
|
Implements:[mindplot.Events],
|
||||||
initialize:function (options) {
|
initialize:function (options) {
|
||||||
this._zoom = options.zoom;
|
this._zoom = options.zoom;
|
||||||
this._topics = [];
|
this._topics = [];
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
mindplot.EventBus = new Class({
|
mindplot.EventBus = new Class({
|
||||||
Implements:Events,
|
Implements: mindplot.Events,
|
||||||
initialize: function() {
|
initialize: function() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
mindplot.widget.FloatingTip = new Class({
|
mindplot.widget.FloatingTip = new Class({
|
||||||
Implements: [Options, Events],
|
Implements: [Options, mindplot.Events],
|
||||||
|
|
||||||
options: {
|
options: {
|
||||||
position: 'top',
|
position: 'top',
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
mindplot.widget.ToolbarItem = new Class({
|
mindplot.widget.ToolbarItem = new Class({
|
||||||
Implements:[Events],
|
Implements: mindplot.Events, //FIXME: should be extends?
|
||||||
initialize : function(buttonId, fn, options) {
|
initialize : function(buttonId, fn, options) {
|
||||||
$assert(buttonId, "buttonId can not be null");
|
$assert(buttonId, "buttonId can not be null");
|
||||||
$assert(fn, "fn can not be null");
|
$assert(fn, "fn can not be null");
|
||||||
|
Loading…
Reference in New Issue
Block a user