Changeset 3542:c4e56e611382 for admin/js/codemirror/mode/javascript
- Timestamp:
- 03/21/17 10:47:19 (8 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/codemirror/mode/javascript/javascript.js
r3532 r3542 635 635 } 636 636 function classNameAfter(type, value) { 637 if (value == "<") return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, classNameAfter) 637 638 if (value == "extends" || value == "implements" || (isTS && type == ",")) 638 639 return cont(isTS ? typeexpr : expression, classNameAfter); … … 662 663 if (value == "?") return cont(classfield) 663 664 if (type == ":") return cont(typeexpr, maybeAssign) 665 if (value == "=") return cont(expressionNoComma) 664 666 return pass(functiondef) 665 667 }
Note: See TracChangeset
for help on using the changeset viewer.