Searchfox Update: Searchfox's feud with JS #hashtags is now over!
32 views
Skip to first unread message
Andrew Sutherland
unread,
Nov 23, 2022, 11:54:47 AM11/23/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-pl...@mozilla.org
A lot of hip, new JavaScript code seems to be filled with #hashtags for
some reason[1] and up until last night when
https://bugzilla.mozilla.org/show_bug.cgi?id=1801960 [2] landed,
Searchfox was not having it. But Searchfox knows that it needs to keep
up with emerging trends like moving the "m" from the end of "jsm" to the
front[3] and so now its tokenizer is willing to accept that you might
want to use hashtags as an identifier. (Although maybe we could lose the
#ifdef hashtags[4]?)