mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
closed #727
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
if ('undefined' === typeof window) {
|
if ('undefined' === typeof window) {
|
||||||
fs = require('fs');
|
fs = require('fs');
|
||||||
XRegExp = require('xregexp').XRegExp;
|
XRegExp = require('xregexp').XRegExp;
|
||||||
|
} else {
|
||||||
|
XRegExp = window.XRegExp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user