Commit Graph

237 Commits

Author SHA1 Message Date
Beau Gunderson
fb838645ae refactor svg into ES6 modules for #3118 2016-06-16 11:58:23 -07:00
Bryan Housel
7cad599052 Merge branch 'modules-core' of https://github.com/kepta/iD into kepta-modules-core 2016-06-16 11:47:25 -04:00
Bryan Housel
82f0a81308 Resolve module variable collisions 2016-06-16 11:11:00 -04:00
Bryan Housel
0c0642e321 Attempt to put services into module 2016-06-16 11:11:00 -04:00
Kushan Joshi
59e6581aa5 Modularize iD.core 2016-06-16 18:41:37 +05:30
Kushan Joshi
2db0f636b1 modularize iD.operations 2016-06-16 00:42:43 +05:30
Kushan Joshi
b2095a502a convert iD.geo to geo modules 2016-06-15 21:11:10 +05:30
Bryan Housel
26c9649039 Merge branch '3118-modes' of https://github.com/davidchouse/iD into davidchouse-3118-modes 2016-06-15 10:47:40 -04:00
Martin Raifer
02e9f1f55a export "getPrototypeOf" as var instead of const
to make it run in phantomjs (for tests) and browsers that don't support ES6's const yet.
2016-06-15 09:26:52 -04:00
Martin Raifer
2b488b5567 refactor "util" into ES6 modules for #3118 2016-06-15 09:26:52 -04:00
David Culverhouse
8313ce284d Merge remote-tracking branch 'openstreetmap/master' 2016-06-15 00:22:31 -04:00
David Culverhouse
34904f0525 Migrate "modes" into ES6 modules for #3118 2016-06-15 00:11:32 -04:00
Beau Gunderson
4dbce64b7d migrate presets to ES6 modules for #3118 2016-06-14 20:44:05 -07:00
Martin Raifer
6f1744700a refactor validations into ES6 modules #3118 2016-06-14 21:55:11 +02:00
Tom MacWright
dd3c73f144 Merge pull request #3161 from openstreetmap/inter-require
Start inter-requiring actions
2016-06-14 12:05:49 -04:00
Bryan Housel
e8e1d758b6 Remove mapillary-js source map 2016-06-14 10:28:15 -04:00
Tom MacWright
9e03edc493 Start inter-requiring actions 2016-06-14 09:09:44 -04:00
Bryan Housel
e98db81a27 Switch dist/modules/actions.js -> js/lib/id/actions.js 2016-06-13 14:04:44 -04:00
Kushan Joshi
71a3d3e4f6 Patch d3's mousewheeled function
(closes #2773)
2016-06-08 18:07:20 +05:30
Kushan Joshi
f81ff29645 Mapillary Js, second stab 2016-05-25 15:51:36 +05:30
peterneubauer
8782c1480d adding MapillaryJS, first stab. 2016-05-22 11:09:26 +05:30
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
aa37c0e4a5 fix comment 2016-05-15 23:32:58 -04:00
Bryan Housel
2e90553288 Clear bindings array in keybinding.off
(closes #3111)
2016-05-15 23:32:06 -04:00
Bryan Housel
3beda5cf84 Avoid entering autocomplete function if possible 2016-05-10 22:09:20 -04:00
Kushan Joshi
59ef7d93db Fix greediness of autocompletion
(closes #3077)
2016-05-10 17:30:35 +05:30
Bryan Housel
ab3340e816 Don't leave edit mode on pressing enter if a combobox is active 2016-04-29 22:25:06 -04:00
Bryan Housel
5752207c91 Refactor combo.js and move @kepta's multiselect code into there. 2016-04-29 17:02:53 -04:00
Bryan Housel
1b73ce9339 Set minItems 1 only for multiselect field 2016-04-22 22:20:47 -04:00
Bryan Housel
30df2c394f set minItems default in d3.combobox to 1 2016-04-22 21:59:43 -04:00
Bryan Housel
9d8626a330 Merge branch 'chips' of https://github.com/kepta/iD into kepta-chips 2016-04-22 10:39:41 -04:00
Bryan Housel
ae15275252 Add caseSensitive option to d3.combobox 2016-04-15 10:54:52 -04:00
Kushan Joshi
9261752068 add multiselect preset 2016-04-03 12:40:14 +05:30
Bryan Housel
9233167f52 Allow d3.dimensions to accept null to reset to current bounding rect 2016-02-23 23:58:40 -05:00
Bryan Housel
3b0347eebc Persist dimensions in property to avoid reflow 2016-02-12 17:12:03 -05:00
Bryan Housel
9a1b7628ba Bump rbush to 1.4.2 2016-02-11 21:23:52 -05:00
Bryan Housel
0210d69177 Use getBoundingClientRect for dimensions instead of offsetHeight/offsetWidth
`offsetHeight`/`offsetWidth` does not work for SVG Elements except in Chrome
and this support is being removed from Chrome soon:

>'SVGElement.offsetWidth' is deprecated and will be removed in M50, around
April 2016. See https://www.chromestatus.com/features/5724912467574784 for
more details.
2016-02-10 17:08:11 -05:00
John Firebaugh
82d1a92b23 Remove unused d3.typeahead module
All use has been replaced with d3.combobox.
2016-01-24 12:45:55 -08:00
Bryan Housel
f2a8f7181b Plug memory leak in raw tag editor / d3.combobox 2016-01-05 01:33:16 -05:00
Bryan Housel
134ac6709b Handle situation when user closes oauth dialog window (closes #2858) 2015-12-04 20:56:46 -05:00
Bryan Housel
66e8f78aa7 Prefer suggested capitalization over user value in combobox (closes #2791) 2015-10-17 23:17:17 -04:00
R. Powers
38ea738cd7 Remove strange html file
Seems to have been added by accident.
2015-10-11 15:14:43 -07:00
Bryan Housel
f0d130e6c0 Bump lodash version to latest 3.9.3 2015-06-09 21:22:35 -04:00
Bryan Housel
f67d51492a add d3.geo.length 2015-04-01 11:04:20 -04:00
Bryan Housel
27d3a3d60a Upgrade D3 to support node v0.12.0 (fixes #2535)
(Also lock a good combination of mocha/mocha-phantomjs)
2015-03-05 21:54:18 -05:00
Bryan Housel
381142356b add Diff3 library 2014-12-13 22:49:44 -05:00
Bryan Housel
5782761e48 support zoom in/out with shifted or unshifted keys +,-,=,_
also add new Firefox-specific keycodes to `d3.keybinding.js`
closes #2389
2014-10-12 00:43:39 -04:00
John Firebaugh
e00a9cf067 Update to rbush 1.3.3 2014-08-29 16:55:37 -07:00