Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14035525
D11302.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D11302.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -8,7 +8,7 @@
return array(
'names' => array(
'core.pkg.css' => '8fc8031a',
- 'core.pkg.js' => '21041609',
+ 'core.pkg.js' => 'd49bf8b2',
'darkconsole.pkg.js' => '8ab24e01',
'differential.pkg.css' => '8af45893',
'differential.pkg.js' => 'dad3622f',
@@ -211,7 +211,7 @@
'rsrc/externals/javelin/lib/behavior.js' => '61cbc29a',
'rsrc/externals/javelin/lib/control/tokenizer/Tokenizer.js' => '9f06389f',
'rsrc/externals/javelin/lib/control/typeahead/Typeahead.js' => 'e614d22b',
- 'rsrc/externals/javelin/lib/control/typeahead/normalizer/TypeaheadNormalizer.js' => '1c22377d',
+ 'rsrc/externals/javelin/lib/control/typeahead/normalizer/TypeaheadNormalizer.js' => '6f7a9da8',
'rsrc/externals/javelin/lib/control/typeahead/source/TypeaheadCompositeSource.js' => '503e17fd',
'rsrc/externals/javelin/lib/control/typeahead/source/TypeaheadOnDemandSource.js' => '8b3fd187',
'rsrc/externals/javelin/lib/control/typeahead/source/TypeaheadPreloadedSource.js' => '54f314a0',
@@ -674,7 +674,7 @@
'javelin-tokenizer' => '9f06389f',
'javelin-typeahead' => 'e614d22b',
'javelin-typeahead-composite-source' => '503e17fd',
- 'javelin-typeahead-normalizer' => '1c22377d',
+ 'javelin-typeahead-normalizer' => '6f7a9da8',
'javelin-typeahead-ondemand-source' => '8b3fd187',
'javelin-typeahead-preloaded-source' => '54f314a0',
'javelin-typeahead-source' => 'fcba4ecc',
@@ -956,9 +956,6 @@
'javelin-util',
'phabricator-keyboard-shortcut-manager',
),
- '1c22377d' => array(
- 'javelin-install',
- ),
'1def2711' => array(
'javelin-install',
'javelin-dom',
@@ -1266,6 +1263,9 @@
'javelin-util',
'javelin-stratcom',
),
+ '6f7a9da8' => array(
+ 'javelin-install',
+ ),
'724b1247' => array(
'javelin-behavior',
'javelin-typeahead-ondemand-source',
diff --git a/src/applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php b/src/applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php
--- a/src/applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php
+++ b/src/applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php
@@ -74,7 +74,7 @@
return array();
}
- $tokens = preg_split('/\s+|-/', $string);
+ $tokens = preg_split('/\s+|[-\[\]]/', $string);
return array_unique($tokens);
}
diff --git a/webroot/rsrc/externals/javelin/lib/control/typeahead/normalizer/TypeaheadNormalizer.js b/webroot/rsrc/externals/javelin/lib/control/typeahead/normalizer/TypeaheadNormalizer.js
--- a/webroot/rsrc/externals/javelin/lib/control/typeahead/normalizer/TypeaheadNormalizer.js
+++ b/webroot/rsrc/externals/javelin/lib/control/typeahead/normalizer/TypeaheadNormalizer.js
@@ -17,7 +17,7 @@
return ('' + str)
.toLocaleLowerCase()
.replace(/[\.,\/#!$%\^&\*;:{}=_`~()]/g, '')
- .replace(/-/g, ' ')
+ .replace(/[-\[\]]/g, ' ')
.replace(/ +/g, ' ')
.replace(/^\s*|\s*$/g, '');
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 11, 6:18 AM (2 d, 22 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6721135
Default Alt Text
D11302.diff (3 KB)
Attached To
Mode
D11302: Projects - tokenize [ProjectX] so "projectX" is a match
Attached
Detach File
Event Timeline
Log In to Comment