move trimRight from fixoldbrowers to lang
This commit is contained in:
parent
8ea46c56e3
commit
c84ec61daf
2 changed files with 2 additions and 2 deletions
|
|
@ -869,7 +869,7 @@ var EditSession = function(text, mode) {
|
|||
TAB_SPACE = 5;
|
||||
|
||||
this.$computeWrapSplits = function(textLine, wrapLimit, tabSize) {
|
||||
textLine = textLine.trimRight();
|
||||
textLine = lang.stringTrimRight();
|
||||
if (textLine.length == 0) {
|
||||
return [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue