Bug 1436690 - Remove unecessary amd load for Reps in GripMessageBody; r=bgrins.
This is simply not needed anymore.
MozReview-Commit-ID: LcWlc05qX5k
--- a/devtools/client/webconsole/new-console-output/components/GripMessageBody.js
+++ b/devtools/client/webconsole/new-console-output/components/GripMessageBody.js
@@ -1,22 +1,16 @@
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
-// If this is being run from Mocha, then the browser loader hasn't set up
-// define. We need to do that before loading Rep.
-if (typeof define === "undefined") {
- require("amd-loader");
-}
-
// React
const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
const {
MESSAGE_TYPE,
JSTERM_COMMANDS,
} = require("../constants");
const { getObjectInspector } = require("devtools/client/webconsole/new-console-output/utils/object-inspector");