Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Florent Cailhol
1f0e77c9de
Change how non-objects are handled
2018-07-14 22:36:02 +02:00
Florent Cailhol
445c2c889c
No longer accept strings in compareLocations
2018-07-14 22:35:43 +02:00
Tobias Koppers
c774f030f1
merge DependencyLocation and disallow string locations
2018-06-25 10:44:34 +02:00
Mohsen Azimi
1a2bbc5303
Add more JSDoc to make ESLint happuy
2018-05-20 00:18:20 -07:00
Mohsen Azimi
413e1c9a70
add typing for compare locations helper
2018-05-20 00:16:33 -07:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Tobias Koppers
f7c2f8e470
Update code style to arrow functions
2017-11-08 11:56:01 +01:00
e-cloud
462b329b1e
fix: remove unreasonable comparelocation logic and update test cases
...
What the `compareLocations` function compares are SourceLocation objects
or strings(based on current usage). There is no case to assume the input
are position objects. Therefore, remove the useless and unreasonable
code.
Relatively, update the tests to indicate the actual usage.
2017-01-24 18:47:55 +08:00
Tobias Koppers
6ae2b07012
make harmony order stable
2017-01-09 00:50:32 +01:00
Tobias Koppers
2f618e733a
refactoring and aggressive-splitting plugin
2016-07-13 11:03:14 +02:00