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
Bryan Housel
ff1eea43a8
Remove Google Analytics, also actually export iD.utilDetect
2019-05-02 19:12:39 -04:00
Tobias
08b721c0e6
Remove crazyegg from the preview-index.html
...
It looks like it is more than 6 years old 372bb7d892/dist/index.html (L28) and the linked URL seems to be broken:
> $ curl http://dnn506yrbagrg.cloudfront.net/pages/scripts/0013/6714.js
> "undefined"==typeof CE2&&(CE2={}),CE2.uid=136714,CE2.status="no data available";
2019-05-02 21:38:29 +02:00
Tobias
ef8999b585
Use ' instead of " like everywhere else
2019-05-02 21:03:29 +02:00
Tobias
173836d548
Add an empty favicon
...
There are multiple calls to the favicon on the preview.ideditor.com system in one session:
> GET http://preview.ideditor.com/favicon.ico 403 (Forbidden)
According to https://stackoverflow.com/questions/1321878/how-to-prevent-favicon-ico-requests#comment50777781_13416784 this should sho an empty favicon which will prevent the browser to try loading the missing icon.
2019-05-02 21:00:59 +02:00
Bryan Housel
2f81cd6729
Add source switcher to dist/index.html
...
(closes #4405 )
2017-11-12 11:37:53 -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
7da27f2a16
Hide administrative boundaries by default
...
(closes #4292 )
2017-09-18 22:31:11 -04: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
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
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
Bryan Housel
8b9a9e32f6
Remove reference to mapillary-js assets from dist/index.html
...
(This was a holdover from testing a while ago. Assets are loaded from CDN now)
2016-06-15 11:08:56 -04:00
Bryan Housel
4fd6b94973
Consistent single quotes in .html
2016-06-15 10:43:48 -04:00
Kushan Joshi
6b70cf3db8
temporary css fixup
2016-05-26 18:44:04 +05:30
Kushan Joshi
f81ff29645
Mapillary Js, second stab
2016-05-25 15:51:36 +05:30
Bryan Housel
2eca4da18c
Change taginfo to service in dist/index.html
2016-02-17 11:45:30 -05:00
Bryan Housel
949935d846
Check iD.detect().support instead of relying on conditional IE comment
2015-12-01 14:25:32 -05:00
Bryan Housel
90bc645e44
Remove Raven code ( closes #2769 )
2015-09-03 22:14:22 -04:00
Sajjad Anwar
dab742a501
Make taginfo configurable and default to disabling taginfo related features
2014-10-24 16:26:37 -07:00
John Firebaugh
dd0e08b244
Write presets and imagery to standalone files
2014-10-23 15:52:29 -07:00
John Firebaugh
ce0b9b4633
Add IE standards incantations
2013-10-25 13:02:59 -07:00
John Firebaugh
5158782f34
Fix unsupported message ( fixes #1720 )
2013-08-22 12:57:31 -07:00
Tom MacWright
9a75ce95d4
Simplify conditional comment and reinstate.
2013-05-08 10:31:29 -04:00
Tom MacWright
ddd817a16c
Hate conditional comments
2013-05-08 10:14:16 -04:00
Tom MacWright
1c7d0ebc66
Make conditional comment for IE stricter
2013-05-08 10:05:04 -04:00
John Firebaugh
19e21e1d26
Modify window.focus canary
...
I suspect whatever is doing the modification is swallowing
exceptions.
2013-04-23 13:45:10 -07:00
John Firebaugh
aedd5ee46e
Create a dist directory
...
This directory will contain the built sources (iD.js, iD.css)
and images. On a release branch, we will check in the generated
files. For the osm.us/master deploy, it should run make and use
dist/ as the root.
Paths in css are relative, e.g. url(img/foo.png).
2013-04-22 10:50:36 -07:00