Skip to content

Commit 8830a57

Browse files
author
as
committed
wip utils/TextUtils.as
1 parent 369c421 commit 8830a57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bin/Falcon.swc

-286 Bytes
Binary file not shown.

src/com/hendrix/feathers/controls/utils/TextUtils.as

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package com.hendrix.feathers.controls.utils
1818
*
1919
* @param str the string to trim
2020
* @param char the character to trim
21-
* @param policy the trimming policy {}
21+
* @param policy the trimming policy chosen from <code>{TRIM_POLICY_LEFT, TRIM_POLICY_RIGHT, TRIM_POLICY_BIDI}</code>
2222
*
2323
* @return the trimmed string
2424
*
@@ -37,12 +37,12 @@ package com.hendrix.feathers.controls.utils
3737
if(policy==TRIM_POLICY_BIDI || policy==TRIM_POLICY_RIGHT) {
3838

3939
for(index_end = str.length;; index_end--) {
40-
var st: String = str.charAt(index_end);
40+
var st: String = str.charAt(index_end);
4141

4242
if(st == '') continue;
4343

4444
if(st!=char) {
45-
index_end += 1;
45+
index_end += 1;
4646
break;
4747
}
4848

0 commit comments

Comments
 (0)