replace old Events class

This commit is contained in:
Ezequiel Bergamaschi 2014-03-16 22:00:04 -03:00
parent bd70f3b609
commit 48c7fe2a96
5 changed files with 5 additions and 5 deletions

View File

@ -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");
}, },

View File

@ -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 = [];

View File

@ -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() {
} }
}); });

View File

@ -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',

View File

@ -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");