- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for substring (0.05 sec)
-
respond.min.js
n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegE...github.com/codelibs/fess/src/main/webapp/css/ad...Thu Oct 08 12:14:13 UTC 2015 4.3K bytes -
ThemeHelper.java
L95: final Path jsPath = ResourceUtil.getJavaScriptPath(themeName); L96: closeQuietly(jsPath); L97: } L98: L99: protected String getThemeName(final Artifact artifact) { L100: final String themeName = artifact.getName().substring(ArtifactType.THEME.getId().length() + 1); L101: if (StringUtil.isBlank(themeName)) { L102: throw new ThemeException("Theme name is empty: " + artifact); L103: } L104: return themeName; L105: } L106: L107: protected...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5.7K bytes -
RelatedContentHelper.java
pair = new Pair<>(new HashMap<>(), new ArrayList<>()); L71: relatedContentMap.put(key, pair); L72: } L73: if (entity.getTerm().startsWith(regexPrefix)) { L74: final String regex = entity.getTerm().substring(regexPrefix.length()); L75: if (StringUtil.isBlank(regex)) { L76: logger.warn("Unknown regex pattern: {}", entity.getTerm()); L77: } else { L78: pair.getSecond().add(new Pair<>(...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 4.8K bytes -
LanguageHelper.java
L98: } L99: L100: protected String getDetectText(final String text) { L101: final String result; L102: if (text.length() <= maxTextLength) { L103: result = text; L104: } else { L105: result = text.substring(0, maxTextLength); L106: } L107: return result.replaceAll("\\s+", " "); L108: } L109: L110: protected String getSupportedLanguage(final String lang) { L111: if (StringUtil.isBlank(lang)) { L112: return null;...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 5.5K bytes -
file.js
)},g.onerror=function(){e()},g.src=c.target.result}};a.formUtils.addValidator({name:"mime",validatorFunction:function(b,f,g,h){if(c){var i=!0,j=f.get(0).files||[],k="",l=d(f);return j.length&&(a.each(j,function(b,c){return i=!1,k=c.type||c.name.substring(c.name.lastIndexOf(".")+1),a.each(l,function(a,b){if(i=k.indexOf(b)>-1)return!1}),i}),i||(a.formUtils.warn("Trying to upload a file with mime type "+k+" which is not allowed"),e(this,"wrongFileType",l.join(", "),h))),i}return a.formUtils.warn("FileReader...github.com/codelibs/fess/src/main/webapp/js/adm...Mon Jan 01 05:12:47 UTC 2018 4.6K bytes