Bug 1270619 - Remove .js from module IDs. r=pbro
authorJ. Ryan Stinnett <jryans@gmail.com>
Fri, 06 May 2016 21:42:34 -0500
changeset 321074 0530f8d36de834b921c7c68272e6c0831bedae63
parent 321073 a9b22026d93fdfeb3583a0d2b197e48240db54de
child 321075 cc20a3a1812d0acee33cbb9382f866fe877536c1
push id9671
push userraliiev@mozilla.com
push dateMon, 06 Jun 2016 20:27:52 +0000
treeherdermozilla-aurora@cea65ca3d0bd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro
bugs1270619
milestone49.0a1
Bug 1270619 - Remove .js from module IDs. r=pbro MozReview-Commit-ID: x8zcFH2VjO
devtools/client/fronts/stylesheets.js
devtools/shared/specs/stylesheets.js
--- a/devtools/client/fronts/stylesheets.js
+++ b/devtools/client/fronts/stylesheets.js
@@ -1,27 +1,27 @@
 /* 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";
 
-const { Front, FrontClassWithSpec } = require("devtools/shared/protocol.js");
+const { Front, FrontClassWithSpec } = require("devtools/shared/protocol");
 const {
   getIndentationFromPrefs,
   getIndentationFromString
 } = require("devtools/shared/indentation");
 const {
   originalSourceSpec,
   mediaRuleSpec,
   styleSheetSpec,
   styleSheetsSpec
-} = require("devtools/shared/specs/stylesheets.js");
+} = require("devtools/shared/specs/stylesheets");
 const promise = require("promise");
 const { Task } = require("resource://gre/modules/Task.jsm");
-const events = require("sdk/event/core.js");
+const events = require("sdk/event/core");
 
 /**
  * The client-side counterpart for an OriginalSourceActor.
  */
 const OriginalSourceFront = FrontClassWithSpec(originalSourceSpec, {
   initialize: function (client, form) {
     Front.prototype.initialize.call(this, client, form);
 
--- a/devtools/shared/specs/stylesheets.js
+++ b/devtools/shared/specs/stylesheets.js
@@ -3,17 +3,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 "use strict";
 
 const {
   Arg,
   RetVal,
   generateActorSpec,
   types
-} = require("devtools/shared/protocol.js");
+} = require("devtools/shared/protocol");
 
 const originalSourceSpec = generateActorSpec({
   typeName: "originalsource",
 
   methods: {
     getText: {
       response: {
         text: RetVal("longstring")