gecko/toolkit/devtools/tests/unit/exposeLoader.js
J. Ryan Stinnett ccd4a3b25b Bug 1097181 - lazyRequireGetter shouldn't bind to the main loader. r=fitzgen
--HG--
extra : transplant_source : %C1%9CG%94%95%F0U%A6%EF%AA%C9%B9%BB%1C%D4%FC%D0%CDX%CE
2014-11-11 13:20:35 -06:00

9 lines
231 B
JavaScript

/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
exports.exerciseLazyRequire = (name, path) => {
const o = {};
loader.lazyRequireGetter(o, name, path);
return o;
};