Merge remote branch 'Spielmeister/master' into master
This commit is contained in:
commit
7bd83a46d9
2 changed files with 4 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ function FoldLine(foldData, folds) {
|
|||
&& fold.start.row != row)
|
||||
{
|
||||
//throwing here breaks whole editor
|
||||
//@todo properly handle this
|
||||
//TODO: properly handle this
|
||||
window.console && window.console.log(row, column, fold);
|
||||
} else if (fold.start.row == row) {
|
||||
folds = this.folds;
|
||||
|
|
|
|||
|
|
@ -53,7 +53,9 @@ EventEmitter._dispatchEvent = function(eventName, e) {
|
|||
if (!listeners.length && !defaultHandler)
|
||||
return;
|
||||
|
||||
e = e || {};
|
||||
if (typeof e != "object" || !e)
|
||||
e = {};
|
||||
|
||||
if (!e.type)
|
||||
e.type = eventName;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue