Browse Source

Merge pull request #46 in ~GUY/fineui from ~WINDY/fineui:master to master

* commit 'ad68ec9965a7d31c9c6926ee5bbcb18a490deffc':
  text_editor的error
es6
windy 7 years ago
parent
commit
faaed49ef6
  1. 2
      bi/case.js
  2. 2
      docs/case.js
  3. 2
      src/case/editor/editor.text.js

2
bi/case.js

@ -6752,7 +6752,7 @@ BI.TextEditor = BI.inherit(BI.Single, {
self.fireEvent(BI.TextEditor.EVENT_STOP);
});
this.editor.on(BI.Editor.EVENT_ERROR, function () {
self.fireEvent(BI.TextEditor.EVENT_ERROR);
self.fireEvent(BI.TextEditor.EVENT_ERROR, arguments);
});
this.editor.on(BI.Editor.EVENT_ENTER, function () {
self.fireEvent(BI.TextEditor.EVENT_ENTER);

2
docs/case.js

@ -6752,7 +6752,7 @@ BI.TextEditor = BI.inherit(BI.Single, {
self.fireEvent(BI.TextEditor.EVENT_STOP);
});
this.editor.on(BI.Editor.EVENT_ERROR, function () {
self.fireEvent(BI.TextEditor.EVENT_ERROR);
self.fireEvent(BI.TextEditor.EVENT_ERROR, arguments);
});
this.editor.on(BI.Editor.EVENT_ENTER, function () {
self.fireEvent(BI.TextEditor.EVENT_ENTER);

2
src/case/editor/editor.text.js

@ -96,7 +96,7 @@ BI.TextEditor = BI.inherit(BI.Single, {
self.fireEvent(BI.TextEditor.EVENT_STOP);
});
this.editor.on(BI.Editor.EVENT_ERROR, function () {
self.fireEvent(BI.TextEditor.EVENT_ERROR);
self.fireEvent(BI.TextEditor.EVENT_ERROR, arguments);
});
this.editor.on(BI.Editor.EVENT_ENTER, function () {
self.fireEvent(BI.TextEditor.EVENT_ENTER);

Loading…
Cancel
Save