Id: ES6 Modules: Phase 3

Created on 17 Jun 2016  路  3Comments  路  Source: openstreetmap/iD

Phase 2 is documented in https://github.com/openstreetmap/iD/issues/3179


In Phase 2, we condense the modules into one bundle and eliminate reliance on the iD global. Phase 3, we eliminate reliance on libs: we stop using a lodash global, same with ohauth and other lil libraries. End of the day, we have no global vars whatsoever, we remove vendored libraries from the source tree and instead use npm to install them.

This happens after phase 2 and can be @kepta or whoever wants to take it on :)

Most helpful comment

馃憤 Yep, the future is now!

All 3 comments

Vendored libraries TODO:

  • [x] bootstrap-tooltip.js
  • [x] d3-compat.js
  • [x] d3.combobox.js
  • [x] d3.curtain.js
  • [x] d3.dimensions.js
  • [x] d3.geo.tile.js
  • [x] d3.jsonp.js
  • [x] d3.keybinding.js
  • [x] d3.one.js
  • [x] d3.trigger.js
  • [x] d3.v3.js 馃寠
  • [x] d3.value.js
  • [x] diff3.js
  • [x] jxon.js
  • [x] locale.js
  • [x] lodash.js 馃寠
  • [x] marked.js (#3225)
  • [x] osmauth.js (#3225)
  • [x] rbush.js (#3196)
  • [x] sexagesimal.js (#3191)
  • [x] togeojson.js (#3225)

I think all the remaining items were rolled into #3344 and this can finally be closed..
Thoughts @tmcw ?

馃憤 Yep, the future is now!

Was this page helpful?
0 / 5 - 0 ratings