Bug 1240494 - Expand JSON Viewer paths to all shared. r=Honza draft
authorJ. Ryan Stinnett <jryans@gmail.com>
Tue, 16 Feb 2016 20:20:41 -0600
changeset 331409 751690106ee39b057982a3ad48218a235d44efef
parent 331408 11d5c44916e7c95ea74e53f7c304b4458ca995c0
child 514379 f4ed5f5d2cefa822eec6f204e208d2d67e5ace47
push id10980
push userbmo:jryans@gmail.com
push dateWed, 17 Feb 2016 02:29:10 +0000
reviewersHonza
bugs1240494
milestone47.0a1
Bug 1240494 - Expand JSON Viewer paths to all shared. r=Honza MozReview-Commit-ID: G0lCxW3JX6f
devtools/client/jsonview/viewer-config.js
--- 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"]);