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