Bug 1240494 - Expand JSON Viewer paths to all shared. r=Honza
MozReview-Commit-ID: G0lCxW3JX6f
--- a/devtools/client/jsonview/viewer-config.js
+++ b/devtools/client/jsonview/viewer-config.js
@@ -18,19 +18,18 @@
* See also: http://requirejs.org/docs/api.html#pathsfallbacks
*
* React module ID is using exactly the same (relative) path as the rest
* of the code base, so it's consistent and modules can be easily reused.
*/
require.config({
baseUrl: ".",
paths: {
+ "devtools/client/shared": "resource://devtools/client/shared",
"devtools/client/shared/vendor/react": [
"resource://devtools/client/shared/vendor/react-dev",
"resource://devtools/client/shared/vendor/react"
],
- "devtools/client/shared/vendor/react-dom":
- "resource://devtools/client/shared/vendor/react-dom"
}
});
// Load the main panel module
requirejs(["json-viewer"]);