Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 uid=1(daemon) gid=1(daemon) grupos=1(daemon) Safe-mode: OFF (not secure) /opt/apex_led/php/3ros/simplesamlphp/modules/discopower/www/js/ drwxrwxr-x | |
| Viewing file: Select action/file-type: var suggest_cache = new Array;
String.prototype.score = function(abbreviation,offset) {
if (suggest_cache['abv'] != abbreviation) {
suggest_cache['abv'] = abbreviation;
var words = abbreviation.split(/\s/);
suggest_cache['len'] = words.length;
suggest_cache.re = new Array;
//words.each();
for ( var i=0; i<suggest_cache['len']; ++i ){
suggest_cache['re'][i] = new Array();
// /\b<x>/ doesn't work when <x> i a non-ascii - oddly enough \s does ...
suggest_cache['re'][i]['initialword'] = new RegExp("^"+words[i], "i");
suggest_cache['re'][i]['word'] = new RegExp("\\s"+words[i], "i");
}
}
for ( var i=0; i<suggest_cache['len']; ++i ){
if (!(this.match(suggest_cache['re'][i]['initialword']) || this.match(suggest_cache['re'][i]['word']))) return 0;
}
return 1;
} |
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.492 ]-- |