Page MenuHomePhabricator

D5717.id18839.diff
No OneTemporary

D5717.id18839.diff

diff --git a/lib/shared/mention-utils.js b/web/chat/mention-utils.js
rename from lib/shared/mention-utils.js
rename to web/chat/mention-utils.js
--- a/lib/shared/mention-utils.js
+++ b/web/chat/mention-utils.js
@@ -1,9 +1,9 @@
// @flow
-import type { RelativeMemberInfo } from '../types/thread-types';
-import { oldValidUsernameRegexString } from './account-utils';
-import SearchIndex from './search-index';
-import { stringForUserExplicit } from './user-utils';
+import { oldValidUsernameRegexString } from 'lib/shared/account-utils';
+import SearchIndex from 'lib/shared/search-index';
+import { stringForUserExplicit } from 'lib/shared/user-utils';
+import type { RelativeMemberInfo } from 'lib/types/thread-types';
const mentionRegex: RegExp = new RegExp(
`(?<textPrefix>(?:^(?:.|\n)*\\s+)|^)@(?<username>${oldValidUsernameRegexString})?$`,

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 8:32 PM (21 h, 37 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2580538
Default Alt Text
D5717.id18839.diff (856 B)

Event Timeline