You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.
One thing that we ran into problems with the original API were the Point and Range classes. Since the browser APIs contain classes named the same, we ran into naming collisions causing issues for those attempting to use the Atom API. I figured I would record this piece of tribal knowledge here so that we can avoid it in Xray.
Suggestions
Alternatives for Point:
Location
Coordinate
Position
Alternatives for Range:
Span
Section
Bounds
Dimension
Limits
The text was updated successfully, but these errors were encountered:
It might not be as much of an issue in Xray because I think those are DOM globals and we don't intend to make editor APIs available on the main thread. That said, I appreciate you sharing these kinds of thoughts.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
One thing that we ran into problems with the original API were the
Point
andRange
classes. Since the browser APIs contain classes named the same, we ran into naming collisions causing issues for those attempting to use the Atom API. I figured I would record this piece of tribal knowledge here so that we can avoid it in Xray.Suggestions
Alternatives for
Point
:Location
Coordinate
Position
Alternatives for
Range
:Span
Section
Bounds
Dimension
Limits
The text was updated successfully, but these errors were encountered: