mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(edit) setUseOfWorker: regExp
This commit is contained in:
parent
f244d48345
commit
396cb86424
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip;
|
|||
function setUseOfWorker(mode) {
|
||||
var isMatch,
|
||||
isStr = Util.isString(mode),
|
||||
regStr = 'coffee/css/html/javascript/json/lua/php/xquery',
|
||||
regStr = 'coffee|css|html|javascript|json|lua|php|xquery',
|
||||
regExp = new RegExp(regStr);
|
||||
|
||||
if (isStr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue