Commit Graph

538 Commits

Author SHA1 Message Date
Bryan Housel
6a4a1d57a7 Make a separate build:legacy target that runs buble
- `iD.js` for most browsers, `iD.legacy.js` for IE11/PhantomJS
- Skip buble plugin during normal development for faster builds
2020-01-21 15:25:10 -05:00
Bryan Housel
c548d0e216 Add ability to dynamically load a different bundle in IE11 2020-01-21 13:19:06 -05:00
Quincy Morgan
ebcbfea17c Add additional viewport content values (re: #6049) 2019-03-15 10:43:43 -04:00
Bryan Housel
71b2d2c6b7 Upgrade legacy symbols in tests
- iD.Context -> iD.coreContext
- iD.Graph -> iD.coreGraph
- iD.Node -> iD.osmNode
- iD.Way -> iD.osmWay
- iD.Relation -> iD.osmRelation
2019-01-30 15:43:02 -05:00
Bryan Housel
30ff68348f Don't disable boundries when disable_features list is present
(also removed some unused functions)
2017-10-23 15:53:46 -04:00
Bryan Housel
9f1d476594 Attempt to remove d3, lodash from bundle, but leave available for tests 2017-09-26 14:19:14 -04:00
Bryan Housel
7da27f2a16 Hide administrative boundaries by default
(closes #4292)
2017-09-18 22:31:11 -04:00
Bryan Housel
be07dcccdf Always access OSM over https now
If you were logged in before, you might need to logout with
`id.connection().logout()` or delete the OAuth data from localStorage
2017-03-02 00:54:24 -05:00
Bryan Housel
5c8bb43ec0 Combine all the css files into dist/iD.css 2017-02-20 15:55:27 -05:00
Bryan Housel
9b7d79a3fe Use live bound object for presets object, change context.presets() getter 2016-11-14 15:44:02 -05:00
Bryan Housel
93d50b4e87 Use live bound object for imagery array, remove context.imagery() accessor
Also update documentation, closes #3359
2016-11-14 11:16:45 -05:00
Bryan Housel
f55de9ac7d Create source switcher in ui() loaded callback 2016-11-13 20:57:04 -05:00
Bryan Housel
f800e5afbc Remove unnecessary window parameter to Context 2016-11-10 15:19:03 -05:00
Bryan Housel
45d85e04c5 Make authenticated api calls if possible 2016-10-24 01:21:38 -04:00
Bryan Housel
053074d076 Export live binding for services in iD.services, fix init/reset
(closes #3324)

Previously we allowed devs to swap out services that they didn't need.
This became difficult now that ES6 exports are immutable bindings.
But we can wrap the immutable bindings themselves in a live object,
to get back the flexibility that we used to have.

This change also drops the `taginfo` accessor on Context, since devs who want
to swap out taginfo service with something else can now do so through the live
binding.  `iD.services.taginfo = myTaginfo()`
2016-10-14 10:38:09 -04:00
Bryan Housel
aa2c4afd47 Flatten names, cleanups in index.html 2016-10-04 22:03:38 -04:00
Bryan Housel
87950fd472 Fix lib export, flatten names in tests and docs 2016-10-04 21:56:09 -04:00
Tom MacWright
760c515c8a Fix source toggle, fix way drawing 2016-09-04 17:33:42 -04:00
Tom MacWright
b493c85399 Refactor away multi requirement 2016-09-03 15:13:20 -04:00
Bryan Housel
44d16b25b7 Restore the source switcher 2016-09-03 00:37:37 -04:00
Tom MacWright
cdb533fa84 Begin d3 v4 update 2016-08-21 15:19:27 -04:00
Tom MacWright
6341d4e4b5 one-shot build (#3266)
* One-shot development

* Move jsonp to module
* Tooltip -> module
* Remove d3.jsonp
* Fix tooltip lint
* Load all libs but d3 itself with require
* Add top-level brfs

* Unformat intro graph
2016-08-10 15:25:19 -07:00
Tom MacWright
af776501d3 Require locale, second pass (#3259)
* Require locale, second pass

* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00
Tom MacWright
604d1e2719 import lodash (#3257) 2016-07-19 12:04:16 -04:00
Bryan Housel
7ca6d06254 Replace iD global with iD.Context() module (#3254) 2016-07-19 10:15:32 -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
Kushan Joshi
fc680a2e9a external modules for services 2016-07-06 14:39:58 -04:00
Kushan Joshi
b3492b17a0 external modules for SVG 2016-07-06 14:39:14 -04:00
Tom MacWright
9c82bba6fb [wip] use diff3 like a module (#3228)
* [wip] use diff3 like a module

* Fix diff3 style, comment out diff3 test
2016-07-06 14:16:25 -04:00
Tom MacWright
b15338b964 Use local jxon 2016-07-05 19:00:12 -04:00
Tom MacWright
712d471a6b Use togeojson package 2016-07-05 18:29:15 -04:00
Tom MacWright
869725551f Use marked as a dependency 2016-07-05 18:22:43 -04:00
Tom MacWright
8f68221b9b Use osm-auth as a package. 2016-07-05 18:14:36 -04:00
Kushan Joshi
9f2a251d31 Fixing Interdependecy between ui.preset and ui.core 2016-07-02 16:00:52 +05:30
Bryan Housel
2e10c9e21e Eliminate vendored rbush library
(re: #3180)
2016-06-26 21:34:10 -04:00
Bryan Housel
448fa7aa0c Eliminate vendored sexagesimal library
(re: #3180)
2016-06-24 16:46:55 -04:00
Kushan Joshi
4083a0e29e adding a lanes() to return lane data 2016-06-22 16:11:46 -04:00
Kushan Joshi
2b4cb618b2 Remove svg and deal with it separately with ui 2016-06-22 12:34:43 +05:30
Kushan Joshi
6a56ad547c external modules for renderer 2016-06-22 12:34:43 +05:30
Kushan Joshi
68e0400332 Add external modules to validations 2016-06-22 12:34:43 +05:30
Kushan Joshi
25485c40fb external modules for presets 2016-06-22 12:34:43 +05:30
Kushan Joshi
52c466bc27 external modules for operations 2016-06-22 12:34:43 +05:30
Kushan Joshi
e79f8fb022 external modules for util 2016-06-22 12:34:43 +05:30
Kushan Joshi
33b2b1e6fd external modules for modes 2016-06-22 12:34:43 +05:30
Kushan Joshi
0939983515 external modules for behavior 2016-06-22 12:34:43 +05:30
Kushan Joshi
22a510c3f6 Add lib/id/index.js to index.html 2016-06-20 22:16:08 +05:30
Kushan Joshi
7267d05e3d external modules for "geo" 2016-06-18 20:38:39 +05:30
Kushan Joshi
b62f446045 final iD.ui changes 2016-06-17 17:09:45 +05:30
Kushan Joshi
5b10acc5c3 add iD.ui.preset 2016-06-17 17:04:26 +05:30
Kushan Joshi
07e5e908f2 making test run 2016-06-17 17:02:04 +05:30