|
3b2238fa
|
2021-10-10T19:36:58
|
|
JS: Added properties (#3099)
|
|
0e5c48d1
|
2019-09-30T21:09:34
|
|
JS: Tokenize `:` as an operator (#2073)
This changes the JS tokenization of `:` (colon) to `operator`.
|
|
57a92035
|
2019-02-12T20:43:31
|
|
Improved JavaScript parameter recognization (#1722)
- The first letter of a parameter can now be upper case.
- Fixes too greedy regex by introducing recursive expressions.
|
|
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) {}
```
|
|
c40f6047
|
2018-08-19T20:28:57
|
|
Highlighting of supposed classes and functions (#1482)
Fixes #1471.
It also extends function-variable to include object properties.
e.g.
```js
{foo: function() {}}
```
|
|
8ee2cd38
|
2017-10-10T08:35:13
|
|
JavaScript: Better highlighting of functions (#1190)
|