This website requires JavaScript.
Explore
Help
Sign In
vitalif
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
43d03209d2
prettier
/
tests
/
cursor_css
/
jsfmt.spec.js
2 lines
30 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fix cursor offset tracking (#4397) * handle cusor position relative to comments correctly * use more robust method of cursor offset tracking * add support for cursorOffset with rangeStart/End * add tests for cursorOffset * use old JS syntax for node4 * add another cursor offset test case * remove trailing whitespace in cursor tests * fix null findNodeAtOffset handling * remove dead code * add more test cases * use indexOf for node4 * revert comments.js * add more comment tests * change tests infra * Fix AST_COMPARE * move CURSOR to top level of file * mutate result * use es6 property shorthand * simplify diff offset calculation * put remaining test cases in individual files
2018-05-01 15:42:59 +03:00
run
_spec
(
_
_dirname
,
[
"css"
]
)
;