Lines Matching refs:test
608 (/ac\.draw\.io$/.test(window.location.hostname) ||
609 /ac-ent\.draw\.io$/.test(window.location.hostname) ||
610 /aj\.draw\.io$/.test(window.location.hostname)))
671 /www\.draw\.io$/.test(window.location.hostname) ||
3107 urlParams['open'] == null && /www\.draw\.io$/.test(window.location.hostname) &&
4469 if (/(\.pdf)$/i.test(name))
4541 this.createFile(name, this.getFileData(/(\.xml)$/i.test(name) ||
4542 name.indexOf('.') < 0 || /(\.drawio)$/i.test(name),
4543 /(\.svg)$/i.test(name), /(\.html)$/i.test(name)),
4591 var isVisioFilename = /(\.v(dx|sdx?))($|\?)/i.test(filterFn) ||
4592 /(\.vs(x|sx?))($|\?)/i.test(filterFn);
4638 if (/(\.png)($|\?)/i.test(filterFn) || this.isPngData(data))
4650 }), onerror, /(\.png)($|\?)/i.test(filterFn) || /(\.v(dx|sdx?))($|\?)/i.test(filterFn) ||
4651 /(\.vs(x|sx?))($|\?)/i.test(filterFn), null, null, base64);
4874 if (dataNode != null && /\.svg$/i.test(file.getTitle()))
6531 if (!/\.svg$/i.test(name))
6544 if (/\.v(dx|sdx?)$/i.test(filename) && Graph.fileSupport && new XMLHttpRequest().upload &&
6599 if (/\.pdf$/i.test(filename))
6608 else if (/\.png$/i.test(filename))
6652 var binary = /\.png$/i.test(filename) || /\.jpe?g$/i.test(filename) ||
6653 /\.pdf$/i.test(filename) || (mimeType != null &&
6671 if (/\.png$/i.test(filename))
6675 else if (/\.pdf$/i.test(filename))