components/prism-flow.js


Log

Author Commit Date CI Message
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