зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1766099 - Part 4: Explicitly specify import or imported symbol for importScripts in services/. r=Standard8
Depends on D144673 Differential Revision: https://phabricator.services.mozilla.com/D144674
This commit is contained in:
Родитель
56c0d78313
Коммит
d5ccb8ec5f
|
@ -10,6 +10,11 @@
|
|||
* A worker dedicated to Remote Settings.
|
||||
*/
|
||||
|
||||
/* import-globals-from /toolkit/components/workerloader/require.js */
|
||||
/* import-globals-from /toolkit/modules/CanonicalJSON.jsm */
|
||||
/* import-globals-from IDBHelpers.jsm */
|
||||
/* import-globals-from SharedUtils.jsm */
|
||||
/* import-globals-from /toolkit/modules/third_party/jsesc/jsesc.js */
|
||||
importScripts(
|
||||
"resource://gre/modules/workers/require.js",
|
||||
"resource://gre/modules/CanonicalJSON.jsm",
|
||||
|
|
|
@ -23,4 +23,6 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/* global jsesc */
|
||||
/* exported jsesc */
|
||||
this.EXPORTED_SYMBOLS = ["jsesc"];
|
||||
|
|
|
@ -23,6 +23,8 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/* global jsesc */
|
||||
/* exported jsesc */
|
||||
var EXPORTED_SYMBOLS = ["jsesc"];
|
||||
/*! https://mths.be/jsesc v1.0.0 by @mathias */
|
||||
;(function(root) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче