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;
|
TAB_SPACE = 5;
|
||||||
|
|
||||||
this.$computeWrapSplits = function(textLine, wrapLimit, tabSize) {
|
this.$computeWrapSplits = function(textLine, wrapLimit, tabSize) {
|
||||||
textLine = textLine.trimRight();
|
textLine = lang.stringTrimRight();
|
||||||
if (textLine.length == 0) {
|
if (textLine.length == 0) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 39d8add0e499500ba57f6dcdf417dc46dd53686d
|
Subproject commit ab8065643f28a1a4a3db30f6f68d378581397ff4
|
||||||
Loading…
Add table
Add a link
Reference in a new issue