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

5 Коммитов

Автор SHA1 Сообщение Дата
J. Ryan Stinnett 30b2b7ce44 Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Nick Fitzgerald 81e06bd5ae Bug 1260938 - Add the `ThreadSafeDevToolsUtils.isSet` utility; r=jimb a=kwierso
MozReview-Commit-ID: IqY3Abv3OX

--HG--
extra : histedit_source : cba614f975f01cdedab0d0e9f93715214055dec7
2016-03-31 16:19:47 -07:00
Nick Fitzgerald 546829d13e Bug 1260589 - Add the ThreadSafeDevToolsUtils.flatten utility; r=jimb a=kwierso
The `flatten` function takes an array of arrays and flattens them to a single
array, removing one level of nesting. It does not recursively flatten multiple
levels of nesting.

MozReview-Commit-ID: ErDMHbT2IX

--HG--
extra : histedit_source : eb6e4f8c54f536c84b08da22ef60cfa56a5075c8
2016-03-31 16:18:44 -07:00
Nick Fitzgerald b6f99a14d8 Bug 1235458 - Move a bunch of utilities from DevToolsUtils to ThreadSafeDevToolsUtils. r=jsantell 2016-01-21 12:07:17 -08:00
Nick Fitzgerald dc7807bb13 Bug 1235457 - Create ThreadSafeDevToolsUtils for the utilities that can be used in workers; r=jsantell
This commit adds the ThreadSafeDevToolsUtils module for utilities that are
guaranteed to work off the main thread. It also makes DevToolsUtils re-export
the thread-safe utilities. This is similar to ChromeUtils and
ThreadSafeChromeUtils webidl interfaces.
2015-12-30 09:37:01 -08:00