Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/lib/vmware-tools/hlp/wwhelp/wwhimpl/common/scripts/ drwxr-xr-x |
Viewing file: unibreak.js (6.4 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | // Copyright (c) 2009-2009 Quadralay Corporation. All rights reserved. // function WWHUnicode_Break_CheckBreak_Sequence(ParamPrevious, ParamCurrent) { var VarResult = true; if ( ( (WWHUnicodeInfo_Korean_L(ParamPrevious)) ) && ( (WWHUnicodeInfo_Korean_L(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (WWHUnicodeInfo_Korean_L(ParamPrevious)) || (WWHUnicodeInfo_Korean_LV(ParamPrevious)) ) && ( (WWHUnicodeInfo_Korean_LV(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (WWHUnicodeInfo_Korean_L(ParamPrevious)) || (WWHUnicodeInfo_Korean_LV(ParamPrevious)) ) && ( (WWHUnicodeInfo_Korean_V(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (WWHUnicodeInfo_Korean_L(ParamPrevious)) ) && ( (WWHUnicodeInfo_Korean_LVT(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (WWHUnicodeInfo_Korean_L(ParamPrevious)) || (WWHUnicodeInfo_Korean_LV(ParamPrevious)) || (WWHUnicodeInfo_Korean_V(ParamPrevious)) || (WWHUnicodeInfo_Korean_LVT(ParamPrevious)) || (WWHUnicodeInfo_Korean_T(ParamPrevious)) ) && ( (WWHUnicodeInfo_Korean_T(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (WWHUnicodeInfo_ALetter(ParamPrevious)) || (WWHUnicodeInfo_ABaseLetter(ParamPrevious)) || (WWHUnicodeInfo_ACMLetter(ParamPrevious)) || (WWHUnicodeInfo_Numeric(ParamPrevious)) || (WWHUnicodeInfo_MidNum(ParamPrevious)) || (WWHUnicodeInfo_MidNumLet(ParamPrevious)) || (WWHUnicodeInfo_MidLetter(ParamPrevious)) || (WWHUnicodeInfo_Katakana(ParamPrevious)) || (WWHUnicodeInfo_Hiragana(ParamPrevious)) || (WWHUnicodeInfo_Ideographic(ParamPrevious)) || (WWHUnicodeInfo_Korean_L(ParamPrevious)) || (WWHUnicodeInfo_Korean_LV(ParamPrevious)) || (WWHUnicodeInfo_Korean_V(ParamPrevious)) || (WWHUnicodeInfo_Korean_LVT(ParamPrevious)) || (WWHUnicodeInfo_Korean_T(ParamPrevious)) || (WWHUnicodeInfo_Extend(ParamPrevious)) ) && ( (WWHUnicodeInfo_Extend(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (WWHUnicodeInfo_ALetter(ParamPrevious)) || (WWHUnicodeInfo_Extend(ParamPrevious)) ) && ( (WWHUnicodeInfo_ALetter(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (WWHUnicodeInfo_Katakana(ParamPrevious)) ) && ( (WWHUnicodeInfo_Katakana(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (WWHUnicodeInfo_Numeric(ParamPrevious)) || (WWHUnicodeInfo_MidNumLet(ParamPrevious)) || (WWHUnicodeInfo_MidLetter(ParamPrevious)) || (WWHUnicodeInfo_Extend(ParamPrevious)) ) && ( (WWHUnicodeInfo_ABaseLetter(ParamCurrent)) || (WWHUnicodeInfo_ACMLetter(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (WWHUnicodeInfo_ALetter(ParamPrevious)) || (WWHUnicodeInfo_ABaseLetter(ParamPrevious)) || (WWHUnicodeInfo_ACMLetter(ParamPrevious)) || (WWHUnicodeInfo_Extend(ParamPrevious)) ) && ( (WWHUnicodeInfo_MidNumLet(ParamCurrent)) || (WWHUnicodeInfo_MidLetter(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (WWHUnicodeInfo_ABaseLetter(ParamPrevious)) || (WWHUnicodeInfo_ACMLetter(ParamPrevious)) || (WWHUnicodeInfo_MidNum(ParamPrevious)) || (WWHUnicodeInfo_MidNumLet(ParamPrevious)) || (WWHUnicodeInfo_Extend(ParamPrevious)) ) && ( (WWHUnicodeInfo_Numeric(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (WWHUnicodeInfo_Numeric(ParamPrevious)) || (WWHUnicodeInfo_Extend(ParamPrevious)) ) && ( (WWHUnicodeInfo_MidNum(ParamCurrent)) || (WWHUnicodeInfo_MidNumLet(ParamCurrent)) ) ) { VarResult = false; } else if ( ( (true) ) && ( (WWHUnicodeInfo_Hiragana(ParamCurrent)) || (WWHUnicodeInfo_Ideographic(ParamCurrent)) ) ) { VarResult = true; } return VarResult; } function WWHUnicode_CheckBreakAtIndex(ParamString, ParamIndex) { var VarResult = false; if (ParamIndex < ParamString.length) { if (ParamString.length == 1) { VarResult = false; } else if (ParamString.length > 1) { // String is at least two characters long // if (ParamIndex == 0) { VarResult = false; } else { VarResult = WWHUnicode_Break_CheckBreak_Sequence(ParamString.charAt(ParamIndex - 1), ParamString.charAt(ParamIndex)); } } } return VarResult; } |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0051 ]-- |