Closed Bug 418096 Opened 18 years ago Closed 18 years ago

MXR doesn't syntax-highlight the new JS 1.7 keywords: let, yield

Categories

(Webtools Graveyard :: MXR, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: steffen.wilberg, Assigned: timeless)

References

()

Details

JS 1.6 (Firefox 1.5): http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6 indexOf() lastIndexOf() every() filter() forEach() map() some() JS 1.7 (Firefox 2.0): http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7 yield next() send() close() let JS 1.8 (Firefox 3.0): http://developer.mozilla.org/en/docs/New_in_JavaScript_1.8 reduce() reduceRight()
new functions aren't really something that mxr needs to handle specially (it does need to handle js functions better, but that's unrelated). that only leaves "let" and "yield". the fix for yield is trivial, and i'd hope the fix for let is too...
Assignee: bear → timeless
Summary: MXR doesn't syntax-highlight the new JS 1.6/1.7/1.8 features/keywords → MXR doesn't syntax-highlight the new JS 1.7 keywords: let, yield
"let" and "yield" WFM.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.