components/prism-flow.js


Log

Author Commit Date CI Message
Wei Ting ce41434d 2022-03-14T17:39:58 Flow: Changed alias of `type` to `class-name` (#3390)
Wei Ting 3916883a 2022-03-14T02:11:26 Flow: Recognise `[Ss]ymbol` as a type (#3388)
Michael Schmidt e2630d89 2021-09-26T11:52:18 ESLint: Added `regexp/sort-alternatives` rule (#3093)
Michael Schmidt e644178b 2020-12-28T18:19:11 Added test for polynomial backtracking (#2597)
Michael Schmidt 11d0f75e 2019-03-14T13:17:45 Applied Array.isArray (#1804) This replaces all occurrences of `Prism.util.type(variable) {!==, ===} 'Array'` with an equivalent `Array.isArray` expression.
Rex Zeng 0cc8c56a 2018-12-03T20:52:13 Identify JavaScript function parameters (#1446) Support parameters for these types of functions: ```javascript // es6 class method foo(x, y) {} // es6 arrow function (x, y) => x x => x // es5 function function foo(x, y) {} // es5 anonymous function function (x, y) {} ```
Valtteri Laitinen de6de454 2017-11-21T09:20:11 Optimize more Unicode regexes (#1229) In previous commit, #1227, a “function” regex JavaScript definition was updated. The same regex is used in few more points, and this PR optimizes them too. Tests are ran and passed.
Golmote d27b70dc 2017-11-11T23:42:44 Add support for Flow Fix #1216