Commit Graph

745 Commits

Author SHA1 Message Date
Bryan Housel
244dd1f46e Cleanup .eslint in spec folder 2016-07-19 12:31:02 -04:00
Bryan Housel
7ca6d06254 Replace iD global with iD.Context() module (#3254) 2016-07-19 10:15:32 -04:00
Bryan Housel
0d8fb87f93 Treat entities on addr:interpolation lines as points, not vertices
(closes #3241)
2016-07-14 13:00:36 -04:00
Bryan Housel
5f496f2020 Cleanup test html, alphabetize, make sure all tests run 2016-07-14 12:59:47 -04:00
Bryan Housel
cb71e90384 Module for iD.Detect() (#3243)
* convert iD.Detect() iife to a module

* iD.Detect() should return loaded locale (except for 'en')

(The previous code was a hack to replace the detected locale with the loaded
locale.  Now that Detect is a module, we can not replace the detected locale
from external code, but we can have Detect() return the locale we really want)
2016-07-13 09:15:47 -04:00
Bryan Housel
ee4f11390c Merge pull request #3231 from openstreetmap/module_services
External modules for services
2016-07-11 13:06:10 -04:00
Bryan Housel
5e57ff0771 Fix eslint ; 2016-07-11 12:59:44 -04:00
Tom MacWright
d7a89a41d2 Stub jsonp 2016-07-11 12:08:43 -04:00
Bryan Housel
c2629a3359 Add tests for diacritic mark replacement 2016-07-08 10:19:42 -04:00
Bryan Housel
0b3df36da0 Replace diacritics when doing fuzzy searches
(closes #3159)
2016-07-07 23:54:00 -04:00
Kushan Joshi
fc680a2e9a external modules for services 2016-07-06 14:39:58 -04:00
Tom MacWright
a8295e9706 Merge master 2016-07-05 18:03:54 -04:00
Tom MacWright
e30d5f3299 Fix references to iD 2016-07-05 17:58:34 -04:00
Kushan Joshi
477d446772 final touch up 2016-07-06 01:05:21 +05:30
Bryan Housel
5e6a1bdee5 Fix rbush tests.. Disable tests that fail because of sinon.spy issue 2016-07-02 21:59:36 -04:00
Bryan Housel
03558c7e40 Bump dependencies, fix tests
(commented out 2 failing tests in mapillary service related to sinon spy)
2016-06-25 00:50:20 -04:00
Kushan Joshi
d130456393 make lane test lint free 2016-06-22 16:11:47 -04:00
Kushan Joshi
aa829ddf4d Lanes forward backward tests 2016-06-22 16:11:47 -04:00
Kushan Joshi
07827e5a2d Adding test case for lanes().default 2016-06-22 16:11:47 -04:00
Bryan Housel
9f1fff0828 Eliminate unused var lint warnings from tests 2016-06-15 10:30:06 -04:00
Kushan Joshi
6d580f66c2 Remaining files and add eslint test/spec to package.json 2016-06-15 18:36:48 +05:30
Kushan Joshi
3f3b287d62 Remove linting errors spec/services 2016-06-15 18:26:11 +05:30
Kushan Joshi
5a87558f97 Remove linting errors from spec/util 2016-06-15 18:26:11 +05:30
Kushan Joshi
4b2431a4e3 Remove linting error spec/ui 2016-06-15 18:26:11 +05:30
Kushan Joshi
1db442b9e8 Remove linting errors fromspec/svg 2016-06-15 18:26:11 +05:30
Kushan Joshi
9dcb6856ab Remove linting errors from spec/renderer 2016-06-15 18:26:11 +05:30
Kushan Joshi
295b8544eb Remove linting errors from spec/modes & spec/presets 2016-06-15 18:26:11 +05:30
Kushan Joshi
fe92a53e31 Add linting to spec/lib 2016-06-15 18:26:11 +05:30
Kushan Joshi
6c542505a4 Add linting to spec/core 2016-06-15 18:26:11 +05:30
Kushan Joshi
084ede853f Add linting to spec/geo 2016-06-15 18:26:11 +05:30
Kushan Joshi
0e4b1c9d04 Add linting to spec/behavior 2016-06-15 18:26:11 +05:30
Beau Gunderson
4dbce64b7d migrate presets to ES6 modules for #3118 2016-06-14 20:44:05 -07:00
Kushan Joshi
4609282e04 Making spec/actions lint free 2016-06-14 16:34:52 +05:30
Bryan Housel
9c1e9c9b11 Explicitly test all the highway types for onewayness 2016-06-13 10:56:52 -04:00
Bryan Housel
e22bd1eceb Pass projection to iD.svg.Layers in tests 2016-06-10 13:06:28 -04:00
Bryan Housel
6314c276e8 More debug versatility 2016-06-10 10:36:28 -04:00
Bryan Housel
30dfdeb3ba Merge pull request #3128 from openstreetmap/mapillary_js
Replace static Mapillary thumbnail with mapillary-js viewer
2016-06-01 00:27:39 -04:00
Bryan Housel
e364b7ec30 Show loading spinner in loadchanged, update selection in nodechanged 2016-05-31 17:16:17 -04:00
Bryan Housel
e57914d77e WIP: preload viewer when layer enabled, still bad issues with slow load timing 2016-05-30 03:20:43 -04:00
Bryan Housel
a99f54b83b WIP: simplify code, attempt to preload viewer 2016-05-29 15:00:46 -04:00
Bryan Housel
db6234b2fc Initiate async wikidata lookup onchange only (not onblur), add tests 2016-05-26 16:16:37 -04:00
Bryan Housel
0135fbe4a6 Update async wikidata tag if graph unchanged 2016-05-25 23:43:27 -04:00
Minh Nguyễn
669cad74f6 Add wikidata asynchronously based on wikipedia
ref #2680
2016-05-23 19:16:02 -04:00
Bryan Housel
bd60aceaf0 Add tile debugging, redraw when debug flags change 2016-05-19 00:43:01 -04:00
Bryan Housel
9e61fae7fc Lodash version bump
Lodash version bump to 4.12
2016-05-18 14:30:48 -04:00
Kushan Joshi
6ef52256f3 Migrating to lodash v4 2016-05-17 12:37:25 +05:30
Bryan Housel
0f17f64eca Don't call keybinding callbacks multiple times, stricter capture/bubble checks 2016-05-16 14:20:09 -04:00
Bryan Housel
a18976b0ac Fix flapping zoomIn/zoomOut tests, stricter closeTo tolerances 2016-05-16 11:59:19 -04:00
Bryan Housel
2b514b831b Fix taginfo test - parse error, reset cache between tests 2016-05-16 11:58:46 -04:00
Bryan Housel
fe39c0ee1b Fix areaKeys tests - parse error, chai include keys 2016-05-16 11:57:05 -04:00