gecko-dev/devtools/client/shadereditor
Alexandre Poirot a8c68f2955 Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART2: Substitutes promise.defer usages with defer
$ sed -i 's/promise.defer/defer/gI' $(egrep -lir "promise.defer\(\)" devtools)
  Reset modification to the following files as they are using deprecated syncable promises as we don't want to touch them.
  http://searchfox.org/mozilla-central/search?q=deprecated-sync-thenables&case=true&regexp=false&path=
$ git checkout devtools/client/debugger/test/mochitest/
$ git checkout devtools/shared/client/main.js
$ git checkout devtools/client/debugger/
$ git checkout devtools/server/main.js

MozReview-Commit-ID: DGN5ae68wtn

--HG--
extra : rebase_source : 57602d89b0bcc1c905bee7723e30f87fa434c6d9
2017-08-08 15:24:04 +02:00
..
test Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey 2017-08-08 15:24:04 +02:00
moz.build Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans 2017-01-13 08:40:35 -05:00
panel.js Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian 2017-06-19 11:32:37 +01:00
shadereditor.js Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey 2017-08-08 15:24:04 +02:00
shadereditor.xul Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00