mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
change xregexp
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
if ('undefined' === typeof window) {
|
if ('undefined' === typeof window) {
|
||||||
fs = require('fs');
|
fs = require('fs');
|
||||||
XRegExp = require('xregexp').XRegExp;
|
XRegExp = require('xregexp');
|
||||||
|
|
||||||
process.profile = function(operation, start) {
|
process.profile = function(operation, start) {
|
||||||
console.log('%s took %d milliseconds', operation, process.elapsedTimeSince(start));
|
console.log('%s took %d milliseconds', operation, process.elapsedTimeSince(start));
|
||||||
|
|||||||
Reference in New Issue
Block a user