Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe 60324df8ec Bug 1599135 - Expose all Reps file. r=jlast.
This allows consumers to directly require a single Rep file
if needed (e.g. the inspector only needs elementNode or textNode).
In order to make this work, the requires for react-dom-factories
and prop-types needed to be changed to the in-tree modules.
We also needed to modified the reps jest config, as well as the
babel config so we can run tests and still generate the reps bundle.
Finally, the dom-node-constants is modified to not use define as
it's not used as an AMD module.

Differential Revision: https://phabricator.services.mozilla.com/D54680

--HG--
extra : moz-landing-system : lando
2019-11-27 07:07:30 +00:00
Mark Banner ceaeb93550 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389

--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
J. Ryan Stinnett 23ff4cc75d Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Tom Tromey 16809923e0 Bug 1321839 - make devtools/shared eslint-clean; r=jryans
MozReview-Commit-ID: AGSdhrT4Z3D

--HG--
extra : rebase_source : b053c5a54d39e6669598714e5f572c0d3dc0ebb4
2016-12-02 10:32:04 -07:00
Nicolas Chevobbe 07647b242c Bug 1311266 - Add devtools/shared to paths in JSONView. r=Honza;
Since we are now using "devtools/shared/dom-node-constants" in Reps, the JSONView
was failing. Add "devtools/shared" to the requirejs configuration to allow the JSONView
to require the script, and wrap the dom-node-constants export in `define` since the view
expect the modules to be AMD.

MozReview-Commit-ID: CXQZ0YzrWGV

--HG--
extra : rebase_source : 963c1082509aef006ee5f5cfaa347d958a67447f
2016-10-19 19:20:49 +02:00
James Long e4aeb1c9ee Bug 1265854 - replace uses of nsiDOMNode constants in devtools frontend r=tromey 2016-06-03 09:47:58 -04:00