mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1223573 - Part 5. Update uris and paths for files in Loop's system add-on. r=mikedeboer
This commit is contained in:
parent
0f8be01f38
commit
c35c5582f6
@ -9,8 +9,8 @@ var gContentWindow;
|
||||
var loopButton;
|
||||
var loopPanel = document.getElementById("loop-notification-panel");
|
||||
|
||||
const { LoopRooms } = Components.utils.import("resource:///modules/loop/LoopRooms.jsm", {});
|
||||
const { MozLoopServiceInternal } = Cu.import("resource:///modules/loop/MozLoopService.jsm", {});
|
||||
const { LoopRooms } = Components.utils.import("chrome://loop/content/modules/LoopRooms.jsm", {});
|
||||
const { MozLoopServiceInternal } = Cu.import("chrome://loop/content/modules/MozLoopService.jsm", {});
|
||||
|
||||
function test() {
|
||||
UITourTest();
|
||||
|
@ -22,9 +22,9 @@ using npm in order to compile the .jsx files into regular .js ones:
|
||||
npm install -g react-tools@0.12.2
|
||||
|
||||
Once installed, run build-jsx with the --watch option from
|
||||
browser/components/loop, eg.:
|
||||
browser/extensions/loop, eg.:
|
||||
|
||||
cd browser/components/loop
|
||||
cd browser/extensions/loop
|
||||
./build-jsx --watch
|
||||
|
||||
build-jsx can also be do a one-time compile pass instead of watching if
|
||||
@ -36,7 +36,7 @@ Hacking
|
||||
=======
|
||||
Please be sure to execute
|
||||
|
||||
browser/components/loop/run-all-loop-tests.sh
|
||||
browser/extensions/loop/run-all-loop-tests.sh
|
||||
|
||||
from the top level before requesting review on a patch.
|
||||
|
||||
@ -52,7 +52,7 @@ If you install eslint and the react plugin globally:
|
||||
npm install -g eslint
|
||||
npm install -g eslint-plugin-react
|
||||
|
||||
You can also run it by hand in the browser/components/loop directory:
|
||||
You can also run it by hand in the browser/extensions/loop directory:
|
||||
|
||||
eslint --ext .js --ext .jsx --ext .jsm .
|
||||
|
||||
@ -88,7 +88,7 @@ install that is properly configured. From the top-level gecko directory,
|
||||
execute:
|
||||
|
||||
export LOOP_SERVER=/Users/larry/src/loop-server
|
||||
./mach marionette-test browser/components/loop/test/functional/manifest.ini
|
||||
./mach marionette-test browser/extensions/loop/test/functional/manifest.ini
|
||||
|
||||
Once the automation is complete, we'll include this in run-all-loop-tests.sh
|
||||
as well.
|
||||
|
8
browser/extensions/loop/bootstrap.js
vendored
8
browser/extensions/loop/bootstrap.js
vendored
@ -409,7 +409,7 @@ var WindowListener = {
|
||||
}
|
||||
|
||||
this.activeSound = new window.Audio();
|
||||
this.activeSound.src = `chrome://browser/content/loop/shared/sounds/${name}.ogg`;
|
||||
this.activeSound.src = `chrome://loop/content/shared/sounds/${name}.ogg`;
|
||||
this.activeSound.load();
|
||||
this.activeSound.play();
|
||||
|
||||
@ -610,9 +610,9 @@ var WindowListener = {
|
||||
};
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(LoopUI, "hookWindowCloseForPanelClose", "resource://gre/modules/MozSocialAPI.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(LoopUI, "LoopAPI", "resource:///modules/loop/MozLoopAPI.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(LoopUI, "LoopRooms", "resource:///modules/loop/LoopRooms.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(LoopUI, "MozLoopService", "resource:///modules/loop/MozLoopService.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(LoopUI, "LoopAPI", "chrome://loop/content/modules/MozLoopAPI.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(LoopUI, "LoopRooms", "chrome://loop/content/modules/LoopRooms.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(LoopUI, "MozLoopService", "chrome://loop/content/modules/MozLoopService.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(LoopUI, "PanelFrame", "resource:///modules/PanelFrame.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(LoopUI, "PlacesUtils", "resource://gre/modules/PlacesUtils.jsm");
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ def find_react_command():
|
||||
return [node, jsx_path]
|
||||
|
||||
|
||||
SHARED_LIBS_DIR=os.path.join(os.path.dirname(__file__), "content", "shared", "libs")
|
||||
SHARED_LIBS_DIR=os.path.join(os.path.dirname(__file__), "content", "shared", "vendor")
|
||||
REACT_VERSION=find_react_version(SHARED_LIBS_DIR)
|
||||
|
||||
src_files = [] # files to be compiled
|
||||
@ -99,7 +99,7 @@ else:
|
||||
# parse the CLI arguments
|
||||
description = 'Loop build tool for JSX files. ' + \
|
||||
'Will scan entire loop directory and compile them in place. ' + \
|
||||
'Must be executed from browser/components/loop directory.'
|
||||
'Must be executed from browser/extensions/loop directory.'
|
||||
|
||||
parser = argparse.ArgumentParser(description=description)
|
||||
parser.add_argument('--watch', '-w', action='store_true', help='continuous' +
|
||||
|
@ -10,7 +10,7 @@ Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/Task.jsm");
|
||||
Cu.import("resource://gre/modules/Timer.jsm");
|
||||
|
||||
const { MozLoopService, LOOP_SESSION_TYPE } = Cu.import("resource:///modules/loop/MozLoopService.jsm", {});
|
||||
const { MozLoopService, LOOP_SESSION_TYPE } = Cu.import("chrome://loop/content/modules/MozLoopService.jsm", {});
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "Promise",
|
||||
"resource://gre/modules/Promise.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "CommonUtils",
|
||||
@ -27,11 +27,11 @@ XPCOMUtils.defineLazyGetter(this, "gLoopBundle", function() {
|
||||
});
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "LoopRoomsCache",
|
||||
"resource:///modules/loop/LoopRoomsCache.jsm");
|
||||
"chrome://loop/content/modules/LoopRoomsCache.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "loopUtils",
|
||||
"resource:///modules/loop/utils.js", "utils");
|
||||
"chrome://loop/content/modules/utils.js", "utils");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "loopCrypto",
|
||||
"resource:///modules/loop/crypto.js", "LoopCrypto");
|
||||
"chrome://loop/content/shared/js/crypto.js", "LoopCrypto");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "ObjectUtils",
|
||||
"resource://gre/modules/ObjectUtils.jsm");
|
||||
|
||||
|
@ -9,7 +9,7 @@ Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/Task.jsm");
|
||||
const { MozLoopService, LOOP_SESSION_TYPE } =
|
||||
Cu.import("resource:///modules/loop/MozLoopService.jsm", {});
|
||||
Cu.import("chrome://loop/content/modules/MozLoopService.jsm", {});
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "CommonUtils",
|
||||
"resource://services-common/utils.js");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "OS", "resource://gre/modules/osfile.jsm");
|
||||
|
@ -9,8 +9,8 @@ const { classes: Cc, interfaces: Ci, utils: Cu } = Components;
|
||||
Cu.import("resource://services-common/utils.js");
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource:///modules/loop/MozLoopService.jsm");
|
||||
Cu.import("resource:///modules/loop/LoopRooms.jsm");
|
||||
Cu.import("chrome://loop/content/modules/MozLoopService.jsm");
|
||||
Cu.import("chrome://loop/content/modules/LoopRooms.jsm");
|
||||
Cu.importGlobalProperties(["Blob"]);
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "PageMetadata",
|
||||
|
@ -10,7 +10,7 @@ Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/Timer.jsm");
|
||||
|
||||
const { MozLoopService } = Cu.import("resource:///modules/loop/MozLoopService.jsm", {});
|
||||
const { MozLoopService } = Cu.import("chrome://loop/content/modules/MozLoopService.jsm", {});
|
||||
const consoleLog = MozLoopService.log;
|
||||
|
||||
this.EXPORTED_SYMBOLS = ["MozLoopPushHandler"];
|
||||
|
@ -121,14 +121,14 @@ XPCOMUtils.defineConstant(this, "ROOM_DELETE", ROOM_DELETE);
|
||||
XPCOMUtils.defineConstant(this, "ROOM_CONTEXT_ADD", ROOM_CONTEXT_ADD);
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "LoopAPI",
|
||||
"resource:///modules/loop/MozLoopAPI.jsm");
|
||||
"chrome://loop/content/modules/MozLoopAPI.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "convertToRTCStatsReport",
|
||||
"resource://gre/modules/media/RTCStatsReport.jsm");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "loopUtils",
|
||||
"resource:///modules/loop/utils.js", "utils");
|
||||
"chrome://loop/content/modules/utils.js", "utils");
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "loopCrypto",
|
||||
"resource:///modules/loop/crypto.js", "LoopCrypto");
|
||||
"chrome://loop/content/shared/js/crypto.js", "LoopCrypto");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "Chat", "resource:///modules/Chat.jsm");
|
||||
|
||||
@ -151,13 +151,13 @@ XPCOMUtils.defineLazyModuleGetter(this, "hookWindowCloseForPanelClose",
|
||||
"resource://gre/modules/MozSocialAPI.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "LoopRooms",
|
||||
"resource:///modules/loop/LoopRooms.jsm");
|
||||
"chrome://loop/content/modules/LoopRooms.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "roomsPushNotification",
|
||||
"resource:///modules/loop/LoopRooms.jsm");
|
||||
"chrome://loop/content/modules/LoopRooms.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "MozLoopPushHandler",
|
||||
"resource:///modules/loop/MozLoopPushHandler.jsm");
|
||||
"chrome://loop/content/modules/MozLoopPushHandler.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "UITour",
|
||||
"resource:///modules/UITour.jsm");
|
||||
|
@ -7,9 +7,10 @@
|
||||
<meta charset="utf-8">
|
||||
<!-- Title is set in conversation.js -->
|
||||
<title></title>
|
||||
<link rel="stylesheet" type="text/css" href="loop/shared/css/reset.css">
|
||||
<link rel="stylesheet" type="text/css" href="loop/shared/css/common.css">
|
||||
<link rel="stylesheet" type="text/css" href="loop/shared/css/conversation.css">
|
||||
<base href="chrome://loop/content">
|
||||
<link rel="stylesheet" type="text/css" href="shared/css/reset.css">
|
||||
<link rel="stylesheet" type="text/css" href="shared/css/common.css">
|
||||
<link rel="stylesheet" type="text/css" href="shared/css/conversation.css">
|
||||
</head>
|
||||
<body class="fx-embedded">
|
||||
|
||||
@ -17,32 +18,32 @@
|
||||
|
||||
<div id="main"></div>
|
||||
|
||||
<script type="text/javascript" src="loop/libs/l10n.js"></script>
|
||||
<script type="text/javascript" src="loop/js/otconfig.js"></script>
|
||||
<script type="text/javascript" src="loop/libs/sdk.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/libs/react-0.13.3.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/libs/lodash-3.9.3.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/libs/backbone-1.2.1.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/libs/classnames-2.2.0.js"></script>
|
||||
<script type="text/javascript" src="panels/vendor/l10n.js"></script>
|
||||
<script type="text/javascript" src="panels/js/otconfig.js"></script>
|
||||
<script type="text/javascript" src="shared/vendor/sdk.js"></script>
|
||||
<script type="text/javascript" src="shared/vendor/react-0.13.3.js"></script>
|
||||
<script type="text/javascript" src="shared/vendor/lodash-3.9.3.js"></script>
|
||||
<script type="text/javascript" src="shared/vendor/backbone-1.2.1.js"></script>
|
||||
<script type="text/javascript" src="shared/vendor/classnames-2.2.0.js"></script>
|
||||
|
||||
<script type="text/javascript" src="loop/shared/js/loopapi-client.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/utils.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/mixins.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/actions.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/validate.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/dispatcher.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/otSdkDriver.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/store.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/activeRoomStore.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/views.js"></script>
|
||||
<script type="text/javascript" src="loop/js/feedbackViews.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/textChatStore.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/textChatView.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/linkifiedTextView.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/urlRegExps.js"></script>
|
||||
<script type="text/javascript" src="loop/js/conversationAppStore.js"></script>
|
||||
<script type="text/javascript" src="loop/js/roomStore.js"></script>
|
||||
<script type="text/javascript" src="loop/js/roomViews.js"></script>
|
||||
<script type="text/javascript" src="loop/js/conversation.js"></script>
|
||||
<script type="text/javascript" src="shared/js/loopapi-client.js"></script>
|
||||
<script type="text/javascript" src="shared/js/utils.js"></script>
|
||||
<script type="text/javascript" src="shared/js/mixins.js"></script>
|
||||
<script type="text/javascript" src="shared/js/actions.js"></script>
|
||||
<script type="text/javascript" src="shared/js/validate.js"></script>
|
||||
<script type="text/javascript" src="shared/js/dispatcher.js"></script>
|
||||
<script type="text/javascript" src="shared/js/otSdkDriver.js"></script>
|
||||
<script type="text/javascript" src="shared/js/store.js"></script>
|
||||
<script type="text/javascript" src="shared/js/activeRoomStore.js"></script>
|
||||
<script type="text/javascript" src="shared/js/views.js"></script>
|
||||
<script type="text/javascript" src="shared/js/textChatStore.js"></script>
|
||||
<script type="text/javascript" src="shared/js/textChatView.js"></script>
|
||||
<script type="text/javascript" src="shared/js/linkifiedTextView.js"></script>
|
||||
<script type="text/javascript" src="shared/js/urlRegExps.js"></script>
|
||||
<script type="text/javascript" src="panels/js/conversationAppStore.js"></script>
|
||||
<script type="text/javascript" src="panels/js/feedbackViews.js"></script>
|
||||
<script type="text/javascript" src="panels/js/roomStore.js"></script>
|
||||
<script type="text/javascript" src="panels/js/roomViews.js"></script>
|
||||
<script type="text/javascript" src="panels/js/conversation.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -12,7 +12,7 @@ body {
|
||||
|
||||
/* Beta Ribbon */
|
||||
.beta-ribbon {
|
||||
background: url("../shared/img/beta-ribbon.svg") no-repeat;
|
||||
background: url("../../shared/img/beta-ribbon.svg") no-repeat;
|
||||
background-size: 30px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
@ -158,7 +158,7 @@ body {
|
||||
transform: translateY(-50%);
|
||||
padding-top: 11rem;
|
||||
padding-bottom: 1rem;
|
||||
background-image: url("../shared/img/empty_conversations.svg");
|
||||
background-image: url("../../shared/img/empty_conversations.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
}
|
||||
@ -324,11 +324,11 @@ body {
|
||||
}
|
||||
|
||||
.room-list > .room-entry:hover > h2 > .copy-link {
|
||||
background-image: url(../shared/img/icons-16x16.svg#copy);
|
||||
background-image: url(../../shared/img/icons-16x16.svg#copy);
|
||||
}
|
||||
|
||||
.room-list > .room-entry:hover > h2 > .delete-link {
|
||||
background-image: url(../shared/img/icons-16x16.svg#trash);
|
||||
background-image: url(../../shared/img/icons-16x16.svg#trash);
|
||||
}
|
||||
|
||||
/* scale this up to 1.1x and then back to the original size */
|
||||
@ -338,7 +338,7 @@ body {
|
||||
}
|
||||
|
||||
.room-list > .room-entry > h2 > .copy-link.checked {
|
||||
background: transparent url(../shared/img/icons-16x16.svg#checkmark);
|
||||
background: transparent url(../../shared/img/icons-16x16.svg#checkmark);
|
||||
animation: pulse .150s;
|
||||
animation-timing-function: ease-in-out;
|
||||
top: 0;
|
||||
@ -362,7 +362,7 @@ body {
|
||||
|
||||
/* Room entry edit button */
|
||||
.room-entry-context-edit-btn {
|
||||
background-image: url("../shared/img/icons-10x10.svg#edit-darkgrey");
|
||||
background-image: url("../../shared/img/icons-10x10.svg#edit-darkgrey");
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 12px;
|
||||
@ -399,7 +399,7 @@ html[dir="rtl"] .room-entry-context-actions > .dropdown-menu {
|
||||
|
||||
.button-close {
|
||||
background-color: transparent;
|
||||
background-image: url(../shared/img/icons-10x10.svg#close);
|
||||
background-image: url(../../shared/img/icons-10x10.svg#close);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 8px 8px;
|
||||
border: none;
|
||||
@ -428,7 +428,7 @@ html[dir="rtl"] .room-entry-context-actions > .dropdown-menu {
|
||||
}
|
||||
|
||||
.spinner.busy {
|
||||
background-image: url(../shared/img/spinner.png);
|
||||
background-image: url(../../shared/img/spinner.png);
|
||||
animation-name: spinnerRotate;
|
||||
animation-duration: 1s;
|
||||
animation-timing-function: linear;
|
||||
@ -437,7 +437,7 @@ html[dir="rtl"] .room-entry-context-actions > .dropdown-menu {
|
||||
|
||||
@media (min-resolution: 2dppx) {
|
||||
.spinner.busy {
|
||||
background-image: url(../shared/img/spinner@2x.png);
|
||||
background-image: url(../../shared/img/spinner@2x.png);
|
||||
}
|
||||
}
|
||||
|
||||
@ -502,7 +502,7 @@ html[dir="rtl"] .generate-url-spinner {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
vertical-align: middle;
|
||||
background-image: url("../shared/img/telefonica.png");
|
||||
background-image: url("../../shared/img/telefonica.png");
|
||||
background-size: 72px 20px;
|
||||
width: 72px;
|
||||
height: 20px;
|
||||
@ -510,21 +510,21 @@ html[dir="rtl"] .generate-url-spinner {
|
||||
|
||||
#powered-by-logo.en-GB,
|
||||
#powered-by-logo.de {
|
||||
background-image: url("../shared/img/02.png");
|
||||
background-image: url("../../shared/img/02.png");
|
||||
background-size: 21px 20px;
|
||||
width: 21px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#powered-by-logo.pt-BR {
|
||||
background-image: url("../shared/img/vivo.png");
|
||||
background-image: url("../../shared/img/vivo.png");
|
||||
background-size: 53px 26px;
|
||||
width: 53px;
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
#powered-by-logo[class^="es-"] {
|
||||
background-image: url("../shared/img/movistar.png");
|
||||
background-image: url("../../shared/img/movistar.png");
|
||||
background-size: 92px 20px;
|
||||
width: 92px;
|
||||
height: 20px;
|
||||
@ -532,20 +532,20 @@ html[dir="rtl"] .generate-url-spinner {
|
||||
|
||||
@media (min-resolution: 2dppx) {
|
||||
#powered-by-logo {
|
||||
background-image: url("../shared/img/telefonica@2x.png");
|
||||
background-image: url("../../shared/img/telefonica@2x.png");
|
||||
}
|
||||
|
||||
#powered-by-logo.en-GB,
|
||||
#powered-by-logo.de {
|
||||
background-image: url("../shared/img/02@2x.png");
|
||||
background-image: url("../../shared/img/02@2x.png");
|
||||
}
|
||||
|
||||
#powered-by-logo.pt-BR {
|
||||
background-image: url("../shared/img/vivo@2x.png");
|
||||
background-image: url("../../shared/img/vivo@2x.png");
|
||||
}
|
||||
|
||||
#powered-by-logo[class^="es-"] {
|
||||
background-image: url("../shared/img/movistar@2x.png");
|
||||
background-image: url("../../shared/img/movistar@2x.png");
|
||||
}
|
||||
}
|
||||
|
||||
@ -594,7 +594,7 @@ html[dir="rtl"] .generate-url-spinner {
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
background: transparent url("../shared/img/icons-10x10.svg#settings-cog");
|
||||
background: transparent url("../../shared/img/icons-10x10.svg#settings-cog");
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
|
@ -29,7 +29,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
return (
|
||||
React.createElement("div", {className: "fte-get-started-content"},
|
||||
React.createElement("header", {className: "fte-title"},
|
||||
React.createElement("img", {src: "loop/shared/img/hello_logo.svg"}),
|
||||
React.createElement("img", {src: "shared/img/hello_logo.svg"}),
|
||||
React.createElement("div", {className: "fte-subheader"},
|
||||
mozL10n.get("first_time_experience_subheading")
|
||||
)
|
||||
@ -379,7 +379,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
_renderDefaultIcon: function() {
|
||||
return (
|
||||
React.createElement("div", {className: "room-entry-context-item"},
|
||||
React.createElement("img", {src: "loop/shared/img/icons-16x16.svg#globe"})
|
||||
React.createElement("img", {src: "shared/img/icons-16x16.svg#globe"})
|
||||
)
|
||||
);
|
||||
},
|
||||
@ -390,7 +390,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
React.createElement("a", {href: roomUrl.location,
|
||||
onClick: this.handleClick,
|
||||
title: roomUrl.description},
|
||||
React.createElement("img", {src: roomUrl.thumbnail || "loop/shared/img/icons-16x16.svg#globe"})
|
||||
React.createElement("img", {src: roomUrl.thumbnail || "shared/img/icons-16x16.svg#globe"})
|
||||
)
|
||||
)
|
||||
);
|
||||
@ -717,7 +717,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
React.createElement("div", {className: "room-list"},
|
||||
this._renderNewRoomButton(),
|
||||
React.createElement("div", {className: "room-list-loading"},
|
||||
React.createElement("img", {src: "loop/shared/img/animated-spinner.svg"})
|
||||
React.createElement("img", {src: "shared/img/animated-spinner.svg"})
|
||||
)
|
||||
)
|
||||
);
|
||||
@ -884,7 +884,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
return (
|
||||
React.createElement("div", {className: "error-content"},
|
||||
React.createElement("header", {className: "error-title"},
|
||||
React.createElement("img", {src: "loop/shared/img/sad_hello_icon_64x64.svg"}),
|
||||
React.createElement("img", {src: "shared/img/sad_hello_icon_64x64.svg"}),
|
||||
React.createElement("p", {className: "error-subheader"},
|
||||
mozL10n.get("e10s_not_supported_subheading", {
|
||||
brandShortname: mozL10n.get("clientShortname2")
|
||||
|
@ -29,7 +29,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
return (
|
||||
<div className="fte-get-started-content">
|
||||
<header className="fte-title">
|
||||
<img src="loop/shared/img/hello_logo.svg" />
|
||||
<img src="shared/img/hello_logo.svg" />
|
||||
<div className="fte-subheader">
|
||||
{mozL10n.get("first_time_experience_subheading")}
|
||||
</div>
|
||||
@ -379,7 +379,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
_renderDefaultIcon: function() {
|
||||
return (
|
||||
<div className="room-entry-context-item">
|
||||
<img src="loop/shared/img/icons-16x16.svg#globe" />
|
||||
<img src="shared/img/icons-16x16.svg#globe" />
|
||||
</div>
|
||||
);
|
||||
},
|
||||
@ -390,7 +390,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
<a href={roomUrl.location}
|
||||
onClick={this.handleClick}
|
||||
title={roomUrl.description}>
|
||||
<img src={roomUrl.thumbnail || "loop/shared/img/icons-16x16.svg#globe"} />
|
||||
<img src={roomUrl.thumbnail || "shared/img/icons-16x16.svg#globe"} />
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
@ -717,7 +717,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
<div className="room-list">
|
||||
{this._renderNewRoomButton()}
|
||||
<div className="room-list-loading">
|
||||
<img src="loop/shared/img/animated-spinner.svg" />
|
||||
<img src="shared/img/animated-spinner.svg" />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
@ -884,7 +884,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
return (
|
||||
<div className="error-content">
|
||||
<header className="error-title">
|
||||
<img src="loop/shared/img/sad_hello_icon_64x64.svg" />
|
||||
<img src="shared/img/sad_hello_icon_64x64.svg" />
|
||||
<p className="error-subheader">
|
||||
{mozL10n.get("e10s_not_supported_subheading", {
|
||||
brandShortname: mozL10n.get("clientShortname2")
|
||||
|
@ -346,14 +346,14 @@ loop.roomViews = (function(mozL10n) {
|
||||
"triggered": this.state.copiedUrl
|
||||
}),
|
||||
onClick: this.handleCopyButtonClick},
|
||||
React.createElement("img", {src: "loop/shared/img/svg/glyph-link-16x16.svg"}),
|
||||
React.createElement("img", {src: "shared/img/glyph-link-16x16.svg"}),
|
||||
React.createElement("p", null, mozL10n.get(this.state.copiedUrl ?
|
||||
"invite_copied_link_button" : "invite_copy_link_button"))
|
||||
),
|
||||
React.createElement("div", {className: "btn-email invite-button",
|
||||
onClick: this.handleEmailButtonClick,
|
||||
onMouseOver: this.resetTriggeredButtons},
|
||||
React.createElement("img", {src: "loop/shared/img/svg/glyph-email-16x16.svg"}),
|
||||
React.createElement("img", {src: "shared/img/glyph-email-16x16.svg"}),
|
||||
React.createElement("p", null, mozL10n.get("invite_email_link_button"))
|
||||
)
|
||||
),
|
||||
@ -536,7 +536,7 @@ loop.roomViews = (function(mozL10n) {
|
||||
}
|
||||
|
||||
var url = this._getURL();
|
||||
var thumbnail = url && url.thumbnail || "loop/shared/img/icons-16x16.svg#globe";
|
||||
var thumbnail = url && url.thumbnail || "shared/img/icons-16x16.svg#globe";
|
||||
var urlDescription = url && url.description || "";
|
||||
var location = url && url.location || "";
|
||||
|
||||
|
@ -346,14 +346,14 @@ loop.roomViews = (function(mozL10n) {
|
||||
"triggered": this.state.copiedUrl
|
||||
})}
|
||||
onClick={this.handleCopyButtonClick}>
|
||||
<img src="loop/shared/img/svg/glyph-link-16x16.svg" />
|
||||
<img src="shared/img/glyph-link-16x16.svg" />
|
||||
<p>{mozL10n.get(this.state.copiedUrl ?
|
||||
"invite_copied_link_button" : "invite_copy_link_button")}</p>
|
||||
</div>
|
||||
<div className="btn-email invite-button"
|
||||
onClick={this.handleEmailButtonClick}
|
||||
onMouseOver={this.resetTriggeredButtons}>
|
||||
<img src="loop/shared/img/svg/glyph-email-16x16.svg" />
|
||||
<img src="shared/img/glyph-email-16x16.svg" />
|
||||
<p>{mozL10n.get("invite_email_link_button")}</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -536,7 +536,7 @@ loop.roomViews = (function(mozL10n) {
|
||||
}
|
||||
|
||||
var url = this._getURL();
|
||||
var thumbnail = url && url.thumbnail || "loop/shared/img/icons-16x16.svg#globe";
|
||||
var thumbnail = url && url.thumbnail || "shared/img/icons-16x16.svg#globe";
|
||||
var urlDescription = url && url.description || "";
|
||||
var location = url && url.location || "";
|
||||
|
||||
|
@ -5,31 +5,32 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" type="text/css" href="loop/shared/css/reset.css">
|
||||
<link rel="stylesheet" type="text/css" href="loop/shared/css/common.css">
|
||||
<link rel="stylesheet" type="text/css" href="loop/css/panel.css">
|
||||
<base href="chrome://loop/content">
|
||||
<link rel="stylesheet" type="text/css" href="shared/css/reset.css">
|
||||
<link rel="stylesheet" type="text/css" href="shared/css/common.css">
|
||||
<link rel="stylesheet" type="text/css" href="panels/css/panel.css">
|
||||
</head>
|
||||
<body class="panel">
|
||||
|
||||
<div id="main"></div>
|
||||
|
||||
<script type="text/javascript" src="loop/shared/libs/react-0.13.3.js"></script>
|
||||
<script type="text/javascript" src="loop/libs/l10n.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/libs/lodash-3.9.3.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/libs/backbone-1.2.1.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/libs/classnames-2.2.0.js"></script>
|
||||
<script type="text/javascript" src="panels/vendor/l10n.js"></script>
|
||||
<script type="text/javascript" src="shared/vendor/react-0.13.3.js"></script>
|
||||
<script type="text/javascript" src="shared/vendor/lodash-3.9.3.js"></script>
|
||||
<script type="text/javascript" src="shared/vendor/backbone-1.2.1.js"></script>
|
||||
<script type="text/javascript" src="shared/vendor/classnames-2.2.0.js"></script>
|
||||
|
||||
<script type="text/javascript" src="loop/shared/js/loopapi-client.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/utils.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/models.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/mixins.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/views.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/validate.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/actions.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/dispatcher.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/store.js"></script>
|
||||
<script type="text/javascript" src="loop/shared/js/activeRoomStore.js"></script>
|
||||
<script type="text/javascript" src="loop/js/roomStore.js"></script>
|
||||
<script type="text/javascript" src="loop/js/panel.js"></script>
|
||||
<script type="text/javascript" src="shared/js/loopapi-client.js"></script>
|
||||
<script type="text/javascript" src="shared/js/utils.js"></script>
|
||||
<script type="text/javascript" src="shared/js/models.js"></script>
|
||||
<script type="text/javascript" src="shared/js/mixins.js"></script>
|
||||
<script type="text/javascript" src="shared/js/views.js"></script>
|
||||
<script type="text/javascript" src="shared/js/validate.js"></script>
|
||||
<script type="text/javascript" src="shared/js/actions.js"></script>
|
||||
<script type="text/javascript" src="shared/js/dispatcher.js"></script>
|
||||
<script type="text/javascript" src="shared/js/store.js"></script>
|
||||
<script type="text/javascript" src="shared/js/activeRoomStore.js"></script>
|
||||
<script type="text/javascript" src="panels/js/roomStore.js"></script>
|
||||
<script type="text/javascript" src="panels/js/panel.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -65,7 +65,7 @@ html[dir="rtl"] .conversation-toolbar > li {
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-color: transparent;
|
||||
background-image: url("../img/svg/media-group.svg");
|
||||
background-image: url("../img/media-group.svg");
|
||||
background-size: cover;
|
||||
height: 28px;
|
||||
width: 67px;
|
||||
@ -73,25 +73,25 @@ html[dir="rtl"] .conversation-toolbar > li {
|
||||
|
||||
.conversation-toolbar-media-btn-group-box > button:last-child:active,
|
||||
.conversation-toolbar-media-btn-group-box > button:last-child:hover {
|
||||
background-image: url("../img/svg/media-group-right-hover.svg");
|
||||
background-image: url("../img/media-group-right-hover.svg");
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .conversation-toolbar-media-btn-group-box > button:last-child:active,
|
||||
html[dir="rtl"] .conversation-toolbar-media-btn-group-box > button:last-child:hover {
|
||||
background-image: url("../img/svg/media-group-left-hover.svg");
|
||||
background-image: url("../img/media-group-left-hover.svg");
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.conversation-toolbar-media-btn-group-box > button:first-child:active,
|
||||
.conversation-toolbar-media-btn-group-box > button:first-child:hover {
|
||||
background-image: url("../img/svg/media-group-left-hover.svg");
|
||||
background-image: url("../img/media-group-left-hover.svg");
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .conversation-toolbar-media-btn-group-box > button:first-child:active,
|
||||
html[dir="rtl"] .conversation-toolbar-media-btn-group-box > button:first-child:hover {
|
||||
background-image: url("../img/svg/media-group-right-hover.svg");
|
||||
background-image: url("../img/media-group-right-hover.svg");
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
@ -106,76 +106,76 @@ html[dir="rtl"] .conversation-toolbar-btn-box.btn-edit-entry {
|
||||
/* conversationViews.jsx */
|
||||
|
||||
.conversation-toolbar .btn-hangup {
|
||||
background-image: url("../img/svg/exit.svg");
|
||||
background-image: url("../img/exit.svg");
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* Audio mute button */
|
||||
.btn-mute-audio:after {
|
||||
content: url("../img/svg/audio.svg");
|
||||
content: url("../img/audio.svg");
|
||||
}
|
||||
|
||||
.btn-mute-audio.muted:after {
|
||||
content: url("../img/svg/audio-mute.svg");
|
||||
content: url("../img/audio-mute.svg");
|
||||
}
|
||||
.btn-mute-audio:hover:after,
|
||||
.btn-mute-audio:active:after {
|
||||
content: url("../img/svg/audio-hover.svg");
|
||||
content: url("../img/audio-hover.svg");
|
||||
}
|
||||
|
||||
.btn-mute-audio.muted:hover:after,
|
||||
.btn-mute-audio.muted:active:after {
|
||||
content: url("../img/svg/audio-mute-hover.svg");
|
||||
content: url("../img/audio-mute-hover.svg");
|
||||
}
|
||||
|
||||
/* Video mute button */
|
||||
.btn-mute-video:after {
|
||||
content: url("../img/svg/video.svg");
|
||||
content: url("../img/video.svg");
|
||||
}
|
||||
|
||||
.btn-mute-video:active:after,
|
||||
.btn-mute-video:hover:after {
|
||||
content: url("../img/svg/video-hover.svg");
|
||||
content: url("../img/video-hover.svg");
|
||||
}
|
||||
|
||||
.btn-mute-video.muted:after {
|
||||
content: url("../img/svg/video-mute.svg");
|
||||
content: url("../img/video-mute.svg");
|
||||
}
|
||||
|
||||
.btn-mute-video.muted:hover:after,
|
||||
.btn-mute-video.muted:active:after {
|
||||
content: url("../img/svg/video-mute-hover.svg");
|
||||
content: url("../img/video-mute-hover.svg");
|
||||
}
|
||||
|
||||
.btn-settings {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
background-size: 28px;
|
||||
background-image: url("../img/svg/settings.svg");
|
||||
background-image: url("../img/settings.svg");
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.btn-settings:hover,
|
||||
.btn-settings:active {
|
||||
background-image: url("../img/svg/settings-hover.svg");
|
||||
background-image: url("../img/settings-hover.svg");
|
||||
}
|
||||
|
||||
.btn-screen-share {
|
||||
background-image: url("../img/svg/sharing.svg");
|
||||
background-image: url("../img/sharing.svg");
|
||||
}
|
||||
|
||||
.btn-screen-share:hover,
|
||||
.btn-screen-share:active {
|
||||
background-image: url("../img/svg/sharing-hover.svg");
|
||||
background-image: url("../img/sharing-hover.svg");
|
||||
}
|
||||
|
||||
.btn-screen-share.active {
|
||||
background-image: url("../img/svg/sharing-active.svg");
|
||||
background-image: url("../img/sharing-active.svg");
|
||||
}
|
||||
|
||||
.btn-screen-share.disabled {
|
||||
/* The screen share button is in its pending state when its disabled. */
|
||||
background-image: url("../img/svg/sharing-pending.svg");
|
||||
background-image: url("../img/sharing-pending.svg");
|
||||
}
|
||||
|
||||
/* General Call (incoming or outgoing). */
|
||||
|
@ -18,7 +18,7 @@ var inChrome = typeof Components != "undefined" && "utils" in Components;
|
||||
rootObject = {
|
||||
crypto: crypto
|
||||
};
|
||||
sharedUtils = Cu.import("resource:///modules/loop/utils.js", {}).utils;
|
||||
sharedUtils = Cu.import("chrome://loop/content/shared/js/utils.js", {}).utils;
|
||||
} else {
|
||||
sharedUtils = this.shared.utils;
|
||||
}
|
||||
|
@ -854,7 +854,7 @@ loop.shared.views = (function(_, mozL10n) {
|
||||
|
||||
if (!thumbnail) {
|
||||
thumbnail = this.props.useDesktopPaths ?
|
||||
"loop/shared/img/icons-16x16.svg#globe" :
|
||||
"shared/img/icons-16x16.svg#globe" :
|
||||
"shared/img/icons-16x16.svg#globe";
|
||||
}
|
||||
|
||||
|
@ -854,7 +854,7 @@ loop.shared.views = (function(_, mozL10n) {
|
||||
|
||||
if (!thumbnail) {
|
||||
thumbnail = this.props.useDesktopPaths ?
|
||||
"loop/shared/img/icons-16x16.svg#globe" :
|
||||
"shared/img/icons-16x16.svg#globe" :
|
||||
"shared/img/icons-16x16.svg#globe";
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
# 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/.
|
||||
|
||||
FINAL_TARGET = 'dist/bin/browser/features/loop@test.mozilla.org'
|
||||
FINAL_TARGET = 'dist/bin/browser/features/loop@mozilla.org'
|
||||
|
||||
FINAL_TARGET_FILES += [
|
||||
'bootstrap.js'
|
||||
|
@ -17,12 +17,12 @@
|
||||
}
|
||||
|
||||
#loop-button {
|
||||
list-style-image: url(chrome://browser/skin/loop/toolbar.png);
|
||||
list-style-image: url(chrome://loop/skin/toolbar.png);
|
||||
-moz-image-region: rect(0, 18px, 18px, 0);
|
||||
}
|
||||
|
||||
toolbar[brighttext] #loop-button {
|
||||
list-style-image: url(chrome://browser/skin/loop/toolbar-inverted.png);
|
||||
list-style-image: url(chrome://loop/skin/toolbar-inverted.png);
|
||||
}
|
||||
|
||||
#loop-button[state="disabled"],
|
||||
@ -52,12 +52,12 @@
|
||||
|
||||
@media (min-resolution: 1.1dppx) {
|
||||
#loop-button {
|
||||
list-style-image: url("chrome://browser/skin/loop/toolbar@2x.png");
|
||||
list-style-image: url("chrome://loop/skin/toolbar@2x.png");
|
||||
-moz-image-region: rect(0, 36px, 36px, 0);
|
||||
}
|
||||
|
||||
toolbar[brighttext] #loop-button {
|
||||
list-style-image: url("chrome://browser/skin/loop/toolbar-inverted@2x.png");
|
||||
list-style-image: url("chrome://loop/skin/toolbar-inverted@2x.png");
|
||||
}
|
||||
|
||||
#loop-button[state="disabled"],
|
||||
@ -87,7 +87,7 @@
|
||||
|
||||
#loop-button[cui-areatype="menu-panel"],
|
||||
toolbarpaletteitem[place="palette"] > #loop-button {
|
||||
list-style-image: url(chrome://browser/skin/loop/menuPanel@2x.png);
|
||||
list-style-image: url(chrome://loop/skin/menuPanel@2x.png);
|
||||
-moz-image-region: rect(0, 64px, 64px, 0);
|
||||
}
|
||||
|
||||
@ -125,7 +125,7 @@
|
||||
@media not all and (min-resolution: 1.1dppx) {
|
||||
#loop-button[cui-areatype="menu-panel"],
|
||||
toolbarpaletteitem[place="palette"] > #loop-button {
|
||||
list-style-image: url(chrome://browser/skin/loop/menuPanel.png);
|
||||
list-style-image: url(chrome://loop/skin/menuPanel.png);
|
||||
-moz-image-region: rect(0, 32px, 32px, 0);
|
||||
}
|
||||
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
@media (-moz-windows-theme: luna-silver) and (max-resolution: 1dppx) {
|
||||
#loop-button {
|
||||
list-style-image: url(chrome://browser/skin/loop/toolbar-lunaSilver.png)
|
||||
list-style-image: url(chrome://loop/skin/toolbar-lunaSilver.png)
|
||||
}
|
||||
}
|
||||
|
||||
@media (-moz-windows-theme: luna-silver) and (min-resolution: 1.1dppx) {
|
||||
#loop-button {
|
||||
list-style-image: url(chrome://browser/skin/loop/toolbar-lunaSilver@2x.png)
|
||||
list-style-image: url(chrome://loop/skin/toolbar-lunaSilver@2x.png)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -87,7 +87,7 @@ html[dir="rtl"] .standalone-overlay-wrapper > .general-support-url {
|
||||
background-size: contain;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background: transparent url("../shared/img/svg/glyph-help-16x16.svg") no-repeat;
|
||||
background: transparent url("../shared/img/glyph-help-16x16.svg") no-repeat;
|
||||
}
|
||||
|
||||
.standalone-overlay-wrapper > .standalone-moz-logo {
|
||||
@ -271,7 +271,7 @@ html[dir="rtl"] .standalone-overlay-wrapper > .standalone-moz-logo {
|
||||
}
|
||||
|
||||
.room-inner-info-area > .room-waiting-area > a >.room-waiting-help {
|
||||
background: transparent url("../shared/img/svg/glyph-help-16x16.svg") no-repeat;
|
||||
background: transparent url("../shared/img/glyph-help-16x16.svg") no-repeat;
|
||||
display: inline-block;
|
||||
height: 16px;
|
||||
margin-left: 5px;
|
||||
|
@ -17,20 +17,20 @@
|
||||
// The OpenTok SDK tries to do some heuristic detection of require and
|
||||
// assumes a node environment if it's present, which confuses webpack, so
|
||||
// we turn that off by forcing require to false in that context.
|
||||
require("imports?require=>false!shared/libs/sdk.js");
|
||||
require("imports?require=>false!shared/vendor/sdk.js");
|
||||
|
||||
// Ultimately, we'll likely want to pull the vendor libraries from npm, as that
|
||||
// makes upgrading easier, and it's generally better practice to minify the
|
||||
// "source" versions of libraries rather than built artifacts. We probably do
|
||||
// want to minify them ourselves since this allows for better dead-code
|
||||
// elimination, but that can be a bit of judgement call.
|
||||
require("exports?_!shared/libs/lodash-3.9.3.js");
|
||||
require("exports?_!shared/vendor/lodash-3.9.3.js");
|
||||
|
||||
// Disable Backbone's AMD auto-detection, as described at:
|
||||
//
|
||||
// https://github.com/jashkenas/backbone/wiki/Using-Backbone-without-jQuery
|
||||
//
|
||||
require("expose?Backbone!imports?define=>false!shared/libs/backbone-1.2.1.js");
|
||||
require("expose?Backbone!imports?define=>false!shared/vendor/backbone-1.2.1.js");
|
||||
|
||||
/* global: __PROD__ */
|
||||
if (typeof __PROD__ !== "undefined") {
|
||||
@ -41,8 +41,8 @@ if (typeof __PROD__ !== "undefined") {
|
||||
require("expose?classNames!classnames");
|
||||
} else {
|
||||
// our development server setup doesn't yet handle real modules, so for now...
|
||||
require("shared/libs/react-0.13.3.js");
|
||||
require("shared/libs/classnames-2.2.0.js");
|
||||
require("shared/vendor/react-0.13.3.js");
|
||||
require("shared/vendor/classnames-2.2.0.js");
|
||||
}
|
||||
|
||||
|
||||
|
@ -90,6 +90,10 @@ app.use("/content/c", express.static(path.join(__dirname, "..", "content")));
|
||||
// Two lines for the same reason as /content above.
|
||||
app.use("/test", express.static(path.join(__dirname, "test")));
|
||||
app.use("/test", express.static(path.join(__dirname, "..", "test")));
|
||||
// Hacks for desktop to stop errors being raised in the tests for content loading.
|
||||
app.use("/test/shared/shared", express.static(path.join(__dirname, "..", "content/shared")));
|
||||
app.use("/test/desktop-local/shared", express.static(path.join(__dirname, "..", "content/shared")));
|
||||
|
||||
|
||||
// As we don't have hashes on the urls, the best way to serve the index files
|
||||
// appears to be to be to closely filter the url and match appropriately.
|
||||
|
@ -11,7 +11,7 @@ a file: or HTTP URL to run the tests. Alternately, from the top-level of your
|
||||
Gecko source directory, execute:
|
||||
|
||||
```
|
||||
./mach marionette-test browser/components/loop/test/manifest.ini
|
||||
./mach marionette-test browser/extensions/loop/test/manifest.ini
|
||||
```
|
||||
|
||||
Next steps:
|
||||
|
@ -14,17 +14,17 @@
|
||||
</div>
|
||||
<div id="messages"></div>
|
||||
<div id="fixtures"></div>
|
||||
<script src="../../content/shared/libs/lodash-3.9.3.js"></script>
|
||||
<script src="../../content/shared/vendor/lodash-3.9.3.js"></script>
|
||||
<script src="../shared/loop_mocha_utils.js"></script>
|
||||
<script>
|
||||
LoopMochaUtils.trapErrors();
|
||||
</script>
|
||||
|
||||
<!-- libs -->
|
||||
<script src="../../content/libs/l10n.js"></script>
|
||||
<script src="../../content/shared/libs/react-0.13.3.js"></script>
|
||||
<script src="../../content/shared/libs/classnames-2.2.0.js"></script>
|
||||
<script src="../../content/shared/libs/backbone-1.2.1.js"></script>
|
||||
<script src="../../content/panels/vendor/l10n.js"></script>
|
||||
<script src="../../content/shared/vendor/react-0.13.3.js"></script>
|
||||
<script src="../../content/shared/vendor/classnames-2.2.0.js"></script>
|
||||
<script src="../../content/shared/vendor/backbone-1.2.1.js"></script>
|
||||
|
||||
<!-- test dependencies -->
|
||||
<script src="../shared/vendor/mocha-2.2.5.js"></script>
|
||||
@ -50,12 +50,12 @@
|
||||
<script src="../../content/shared/js/views.js"></script>
|
||||
<script src="../../content/shared/js/textChatStore.js"></script>
|
||||
<script src="../../content/shared/js/textChatView.js"></script>
|
||||
<script src="../../content/js/conversationAppStore.js"></script>
|
||||
<script src="../../content/js/roomStore.js"></script>
|
||||
<script src="../../content/js/roomViews.js"></script>
|
||||
<script src="../../content/js/feedbackViews.js"></script>
|
||||
<script src="../../content/js/conversation.js"></script>
|
||||
<script src="../../content/js/panel.js"></script>
|
||||
<script src="../../content/panels/js/conversationAppStore.js"></script>
|
||||
<script src="../../content/panels/js/roomStore.js"></script>
|
||||
<script src="../../content/panels/js/roomViews.js"></script>
|
||||
<script src="../../content/panels/js/feedbackViews.js"></script>
|
||||
<script src="../../content/panels/js/conversation.js"></script>
|
||||
<script src="../../content/panels/js/panel.js"></script>
|
||||
|
||||
<!-- Test scripts -->
|
||||
<script src="conversationAppStore_test.js"></script>
|
||||
|
@ -10,11 +10,11 @@ module.exports = function(config) {
|
||||
|
||||
// List of files / patterns to load in the browser.
|
||||
baseConfig.files = baseConfig.files.concat([
|
||||
"content/libs/l10n.js",
|
||||
"content/shared/libs/react-0.13.3.js",
|
||||
"content/shared/libs/classnames-2.2.0.js",
|
||||
"content/shared/libs/lodash-3.9.3.js",
|
||||
"content/shared/libs/backbone-1.2.1.js",
|
||||
"content/panels/vendor/l10n.js",
|
||||
"content/shared/vendor/react-0.13.3.js",
|
||||
"content/shared/vendor/classnames-2.2.0.js",
|
||||
"content/shared/vendor/lodash-3.9.3.js",
|
||||
"content/shared/vendor/backbone-1.2.1.js",
|
||||
"test/shared/vendor/*.js",
|
||||
"test/shared/loop_mocha_utils.js",
|
||||
"test/karma/head.js", // Stub out DOM event listener due to races.
|
||||
@ -31,11 +31,11 @@ module.exports = function(config) {
|
||||
"content/shared/js/views.js",
|
||||
"content/shared/js/textChatStore.js",
|
||||
"content/shared/js/textChatView.js",
|
||||
"content/js/feedbackViews.js",
|
||||
"content/js/conversationAppStore.js",
|
||||
"content/js/roomStore.js",
|
||||
"content/js/roomViews.js",
|
||||
"content/js/conversation.js",
|
||||
"content/panels/js/feedbackViews.js",
|
||||
"content/panels/js/conversationAppStore.js",
|
||||
"content/panels/js/roomStore.js",
|
||||
"content/panels/js/roomViews.js",
|
||||
"content/panels/js/conversation.js",
|
||||
"test/desktop-local/*.js"
|
||||
]);
|
||||
|
||||
@ -47,7 +47,7 @@ module.exports = function(config) {
|
||||
// Preprocess matching files before serving them to the browser.
|
||||
// Available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor .
|
||||
baseConfig.preprocessors = {
|
||||
"content/js/*.js": ["coverage"]
|
||||
"content/panels/js/*.js": ["coverage"]
|
||||
};
|
||||
|
||||
baseConfig.coverageReporter.dir = "test/coverage/desktop";
|
||||
|
@ -11,11 +11,11 @@ module.exports = function(config) {
|
||||
// List of files / patterns to load in the browser.
|
||||
baseConfig.files = baseConfig.files.concat([
|
||||
"standalone/content/libs/l10n-gaia-02ca67948fe8.js",
|
||||
"content/shared/libs/lodash-3.9.3.js",
|
||||
"content/shared/libs/backbone-1.2.1.js",
|
||||
"content/shared/libs/react-0.13.3.js",
|
||||
"content/shared/libs/classnames-2.2.0.js",
|
||||
"content/shared/libs/sdk.js",
|
||||
"content/shared/vendor/lodash-3.9.3.js",
|
||||
"content/shared/vendor/backbone-1.2.1.js",
|
||||
"content/shared/vendor/react-0.13.3.js",
|
||||
"content/shared/vendor/classnames-2.2.0.js",
|
||||
"content/shared/vendor/sdk.js",
|
||||
"test/shared/vendor/*.js",
|
||||
"test/shared/loop_mocha_utils.js",
|
||||
"test/karma/head.js", // Add test fixture container
|
||||
|
@ -12,7 +12,7 @@ var { WebChannel } = Cu.import("resource://gre/modules/WebChannel.jsm", {});
|
||||
var { Chat } = Cu.import("resource:///modules/Chat.jsm", {});
|
||||
|
||||
const TEST_URI =
|
||||
"example.com/browser/browser/components/loop/test/mochitest/test_loopLinkClicker_channel.html";
|
||||
"example.com/browser/browser/extensions/loop/test/mochitest/test_loopLinkClicker_channel.html";
|
||||
const TEST_URI_GOOD = Services.io.newURI("https://" + TEST_URI, null, null);
|
||||
const TEST_URI_BAD = Services.io.newURI("http://" + TEST_URI, null, null);
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
"use strict";
|
||||
|
||||
const BASE_URL = Services.prefs.getCharPref("loop.server");
|
||||
const { LoopAPI } = Cu.import("resource:///modules/loop/MozLoopAPI.jsm", {});
|
||||
const { LoopAPI } = Cu.import("chrome://loop/content/modules/MozLoopAPI.jsm", {});
|
||||
|
||||
function* checkFxA401() {
|
||||
let err = MozLoopService.errors.get("login");
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
const BASE_URL = "http://mochi.test:8888/browser/browser/components/loop/test/mochitest/loop_fxa.sjs?";
|
||||
const BASE_URL = "http://mochi.test:8888/browser/browser/extensions/loop/test/mochitest/loop_fxa.sjs?";
|
||||
|
||||
registerCleanupFunction(function* () {
|
||||
yield promiseDeletedOAuthParams(BASE_URL);
|
||||
|
@ -2,7 +2,7 @@
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
"use strict";
|
||||
|
||||
const { LoopAPI } = Cu.import("resource:///modules/loop/MozLoopAPI.jsm", {});
|
||||
const { LoopAPI } = Cu.import("chrome://loop/content/modules/MozLoopAPI.jsm", {});
|
||||
var [, gHandlers] = LoopAPI.inspect();
|
||||
|
||||
add_task(function* test_mozLoop_appVersionInfo() {
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
const { LoopAPI } = Cu.import("resource:///modules/loop/MozLoopAPI.jsm", {});
|
||||
const { LoopAPI } = Cu.import("chrome://loop/content/modules/MozLoopAPI.jsm", {});
|
||||
var [, gHandlers] = LoopAPI.inspect();
|
||||
|
||||
function promiseGetMetadata() {
|
||||
|
@ -6,7 +6,7 @@
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
const { LoopAPI } = Cu.import("resource:///modules/loop/MozLoopAPI.jsm", {});
|
||||
const { LoopAPI } = Cu.import("chrome://loop/content/modules/MozLoopAPI.jsm", {});
|
||||
var [, gHandlers] = LoopAPI.inspect();
|
||||
|
||||
var handlers = [
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Cu.import("resource://gre/modules/Promise.jsm");
|
||||
const { SocialService } = Cu.import("resource://gre/modules/SocialService.jsm", {});
|
||||
const { LoopAPI } = Cu.import("resource:///modules/loop/MozLoopAPI.jsm", {});
|
||||
const { LoopAPI } = Cu.import("chrome://loop/content/modules/MozLoopAPI.jsm", {});
|
||||
|
||||
var [, gHandlers] = LoopAPI.inspect();
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
const { LoopAPI } = Cu.import("resource:///modules/loop/MozLoopAPI.jsm", {});
|
||||
const { LoopAPI } = Cu.import("chrome://loop/content/modules/MozLoopAPI.jsm", {});
|
||||
var [, gHandlers] = LoopAPI.inspect();
|
||||
var gConstants;
|
||||
gHandlers.GetAllConstants({}, constants => gConstants = constants);
|
||||
|
@ -8,7 +8,7 @@
|
||||
"use strict";
|
||||
|
||||
Components.utils.import("resource://gre/modules/Promise.jsm", this);
|
||||
const { LoopRoomsInternal } = Components.utils.import("resource:///modules/loop/LoopRooms.jsm", {});
|
||||
const { LoopRoomsInternal } = Components.utils.import("chrome://loop/content/modules/LoopRooms.jsm", {});
|
||||
Services.prefs.setBoolPref("loop.gettingStarted.seen", true);
|
||||
|
||||
const fxASampleToken = {
|
||||
|
@ -8,8 +8,8 @@ const {
|
||||
LOOP_SESSION_TYPE,
|
||||
MozLoopServiceInternal,
|
||||
MozLoopService
|
||||
} = Cu.import("resource:///modules/loop/MozLoopService.jsm", {});
|
||||
const { LoopRooms } = Cu.import("resource:///modules/loop/LoopRooms.jsm", {});
|
||||
} = Cu.import("chrome://loop/content/modules/MozLoopService.jsm", {});
|
||||
const { LoopRooms } = Cu.import("chrome://loop/content/modules/LoopRooms.jsm", {});
|
||||
|
||||
// Cache this value only once, at the beginning of a
|
||||
// test run, so that it doesn't pick up the offline=true
|
||||
@ -133,7 +133,7 @@ function promiseOAuthParamsSetup(baseURL, params) {
|
||||
}
|
||||
|
||||
function* resetFxA() {
|
||||
let global = Cu.import("resource:///modules/loop/MozLoopService.jsm", {});
|
||||
let global = Cu.import("chrome://loop/content/modules/MozLoopService.jsm", {});
|
||||
global.gHawkClient = null;
|
||||
global.gFxAOAuthClientPromise = null;
|
||||
global.gFxAOAuthClient = null;
|
||||
@ -152,7 +152,7 @@ function checkFxAOAuthTokenData(aValue) {
|
||||
}
|
||||
|
||||
function checkLoggedOutState() {
|
||||
let global = Cu.import("resource:///modules/loop/MozLoopService.jsm", {});
|
||||
let global = Cu.import("chrome://loop/content/modules/MozLoopService.jsm", {});
|
||||
is(global.gFxAOAuthClientPromise, null, "gFxAOAuthClientPromise should be cleared");
|
||||
is(MozLoopService.userProfile, null, "fxAOAuthProfile should be cleared");
|
||||
is(global.gFxAOAuthClient, null, "gFxAOAuthClient should be cleared");
|
||||
|
@ -14,16 +14,16 @@
|
||||
</div>
|
||||
<div id="messages"></div>
|
||||
<div id="fixtures"></div>
|
||||
<script src="../../content/shared/libs/lodash-3.9.3.js"></script>
|
||||
<script src="../../content/shared/vendor/lodash-3.9.3.js"></script>
|
||||
<script src="../shared/loop_mocha_utils.js"></script>
|
||||
<script>
|
||||
LoopMochaUtils.trapErrors();
|
||||
</script>
|
||||
|
||||
<!-- libs -->
|
||||
<script src="../../content/shared/libs/react-0.13.3.js"></script>
|
||||
<script src="../../content/shared/libs/classnames-2.2.0.js"></script>
|
||||
<script src="../../content/shared/libs/backbone-1.2.1.js"></script>
|
||||
<script src="../../content/shared/vendor/react-0.13.3.js"></script>
|
||||
<script src="../../content/shared/vendor/classnames-2.2.0.js"></script>
|
||||
<script src="../../content/shared/vendor/backbone-1.2.1.js"></script>
|
||||
<script src="../../standalone/content/libs/l10n-gaia-02ca67948fe8.js"></script>
|
||||
|
||||
<!-- test dependencies -->
|
||||
|
@ -840,7 +840,7 @@ describe("loop.shared.views", function() {
|
||||
});
|
||||
|
||||
expect(view.getDOMNode().querySelector(".context-preview").getAttribute("src"))
|
||||
.eql("loop/shared/img/icons-16x16.svg#globe");
|
||||
.eql("shared/img/icons-16x16.svg#globe");
|
||||
});
|
||||
|
||||
it("should not display a title if by default", function() {
|
||||
|
@ -14,16 +14,16 @@
|
||||
</div>
|
||||
<div id="messages"></div>
|
||||
<div id="fixtures"></div>
|
||||
<script src="../../content/shared/libs/lodash-3.9.3.js"></script>
|
||||
<script src="../../content/shared/vendor/lodash-3.9.3.js"></script>
|
||||
<script src="../shared/loop_mocha_utils.js"></script>
|
||||
<script>
|
||||
LoopMochaUtils.trapErrors();
|
||||
</script>
|
||||
|
||||
<!-- libs -->
|
||||
<script src="../../content/shared/libs/react-0.13.3.js"></script>
|
||||
<script src="../../content/shared/libs/classnames-2.2.0.js"></script>
|
||||
<script src="../../content/shared/libs/backbone-1.2.1.js"></script>
|
||||
<script src="../../content/shared/vendor/react-0.13.3.js"></script>
|
||||
<script src="../../content/shared/vendor/classnames-2.2.0.js"></script>
|
||||
<script src="../../content/shared/vendor/backbone-1.2.1.js"></script>
|
||||
<script src="../../standalone/content/libs/l10n-gaia-02ca67948fe8.js"></script>
|
||||
<!-- test dependencies -->
|
||||
<script src="../shared/vendor/mocha-2.2.5.js"></script>
|
||||
|
@ -17,6 +17,7 @@
|
||||
"do_timeout": false,
|
||||
"run_next_test": false,
|
||||
// head.js items.
|
||||
"FileUtils": false,
|
||||
"MockWebSocketChannel": false,
|
||||
"extend": true,
|
||||
"getLoopString": false,
|
||||
@ -27,7 +28,8 @@
|
||||
"mockPushHandler": true,
|
||||
"setupFakeFxAUserProfile": false,
|
||||
"setupFakeLoopServer": false,
|
||||
"timerHandlers",
|
||||
"timerHandlers": false,
|
||||
"updateAppInfo": false,
|
||||
"waitForCondition": true,
|
||||
// Loop specific items
|
||||
"MozLoopServiceInternal": true,
|
||||
|
@ -12,15 +12,15 @@ Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
Cu.import("resource://gre/modules/Http.jsm");
|
||||
Cu.import("resource://testing-common/httpd.js");
|
||||
Cu.import("resource:///modules/loop/MozLoopService.jsm");
|
||||
Cu.import("chrome://loop/content/modules/MozLoopService.jsm");
|
||||
Cu.import("resource://gre/modules/Promise.jsm");
|
||||
Cu.import("resource:///modules/loop/LoopRooms.jsm");
|
||||
Cu.import("chrome://loop/content/modules/LoopRooms.jsm");
|
||||
Cu.import("resource://gre/modules/osfile.jsm");
|
||||
const { MozLoopServiceInternal } = Cu.import("resource:///modules/loop/MozLoopService.jsm", {});
|
||||
const { LoopRoomsInternal, timerHandlers } = Cu.import("resource:///modules/loop/LoopRooms.jsm", {});
|
||||
const { MozLoopServiceInternal } = Cu.import("chrome://loop/content/modules/MozLoopService.jsm", {});
|
||||
const { LoopRoomsInternal, timerHandlers } = Cu.import("chrome://loop/content/modules/LoopRooms.jsm", {});
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetter(this, "MozLoopPushHandler",
|
||||
"resource:///modules/loop/MozLoopPushHandler.jsm");
|
||||
"chrome://loop/content/modules/MozLoopPushHandler.jsm");
|
||||
|
||||
const kMockWebSocketChannelName = "Mock WebSocket Channel";
|
||||
const kWebSocketChannelContractID = "@mozilla.org/network/protocol;1?name=wss";
|
||||
|
@ -2,7 +2,7 @@
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
"use strict";
|
||||
|
||||
const { LoopAPI } = Cu.import("resource:///modules/loop/MozLoopAPI.jsm", {});
|
||||
const { LoopAPI } = Cu.import("chrome://loop/content/modules/MozLoopAPI.jsm", {});
|
||||
var [, gHandlers] = LoopAPI.inspect();
|
||||
|
||||
add_task(function* test_mozLoop_doNotDisturb() {
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
const { LoopAPI } = Cu.import("resource:///modules/loop/MozLoopAPI.jsm", {});
|
||||
const { LoopAPI } = Cu.import("chrome://loop/content/modules/MozLoopAPI.jsm", {});
|
||||
const [LoopAPIInternal] = LoopAPI.inspect();
|
||||
|
||||
add_test(function test_intialize() {
|
||||
|
@ -2,7 +2,7 @@
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
"use strict";
|
||||
|
||||
const { LoopAPI } = Cu.import("resource:///modules/loop/MozLoopAPI.jsm", {});
|
||||
const { LoopAPI } = Cu.import("chrome://loop/content/modules/MozLoopAPI.jsm", {});
|
||||
var [, gHandlers] = LoopAPI.inspect();
|
||||
|
||||
add_task(function* test_mozLoop_charPref() {
|
||||
|
@ -5,7 +5,7 @@
|
||||
"use strict";
|
||||
|
||||
Cu.import("resource://services-common/utils.js");
|
||||
Cu.import("resource:///modules/loop/LoopRooms.jsm");
|
||||
Cu.import("chrome://loop/content/modules/LoopRooms.jsm");
|
||||
Cu.import("resource:///modules/Chat.jsm");
|
||||
Cu.import("resource://gre/modules/Promise.jsm");
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
timerHandlers.startTimer = callback => callback();
|
||||
|
||||
Cu.import("resource://services-common/utils.js");
|
||||
const { LOOP_ROOMS_CACHE_FILENAME } = Cu.import("resource:///modules/loop/LoopRoomsCache.jsm", {});
|
||||
const { LOOP_ROOMS_CACHE_FILENAME } = Cu.import("chrome://loop/content/modules/LoopRoomsCache.jsm", {});
|
||||
|
||||
const kContextEnabledPref = "loop.contextInConverations.enabled";
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
"use strict";
|
||||
|
||||
Cu.import("resource://services-common/utils.js");
|
||||
Cu.import("resource:///modules/loop/LoopRooms.jsm");
|
||||
Cu.import("chrome://loop/content/modules/LoopRooms.jsm");
|
||||
Cu.import("resource:///modules/Chat.jsm");
|
||||
Cu.import("resource://gre/modules/Promise.jsm");
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
"use strict";
|
||||
|
||||
Cu.import("resource://services-common/utils.js");
|
||||
Cu.import("resource:///modules/loop/LoopRooms.jsm");
|
||||
Cu.import("resource:///modules/Chat.jsm");
|
||||
Cu.import("resource://gre/modules/Promise.jsm");
|
||||
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
Cu.import("resource://services-common/utils.js");
|
||||
|
||||
const loopCrypto = Cu.import("resource:///modules/loop/crypto.js", {}).LoopCrypto;
|
||||
const { LOOP_ROOMS_CACHE_FILENAME } = Cu.import("resource:///modules/loop/LoopRoomsCache.jsm", {});
|
||||
const loopCrypto = Cu.import("chrome://loop/content/shared/js/crypto.js", {}).LoopCrypto;
|
||||
const { LOOP_ROOMS_CACHE_FILENAME } = Cu.import("chrome://loop/content/modules/LoopRoomsCache.jsm", {});
|
||||
|
||||
var gTimerArgs = [];
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
const { INVALID_AUTH_TOKEN } = Cu.import("resource:///modules/loop/MozLoopService.jsm");
|
||||
const { INVALID_AUTH_TOKEN } = Cu.import("chrome://loop/content/modules/MozLoopService.jsm");
|
||||
|
||||
/**
|
||||
* An HTTP request for /NNN responds with a request with a status of NNN.
|
||||
|
@ -5,6 +5,6 @@ This app file showcases all Loop's view components.
|
||||
|
||||
If you want to modify the app, launch the following command:
|
||||
|
||||
browser/components/loop/build-jsx --watch
|
||||
browser/extensions/loop/build-jsx --watch
|
||||
|
||||
And start editing the `ui-showcase.jsx` file.
|
||||
|
@ -10,7 +10,7 @@
|
||||
<link rel="stylesheet" type="text/css" href="../content/shared/css/common.css">
|
||||
<link rel="stylesheet" type="text/css" href="../content/shared/css/conversation.css">
|
||||
<link class="fx-embedded-panel" rel="stylesheet" type="text/css"
|
||||
href="../content/css/panel.css">
|
||||
href="../content/panels/css/panel.css">
|
||||
<link class="standalone" rel="stylesheet" type="text/css"
|
||||
href="../content/css/webapp.css">
|
||||
<link rel="stylesheet" type="text/css" href="ui-showcase.css">
|
||||
@ -25,10 +25,10 @@
|
||||
|
||||
<div id="main"></div>
|
||||
<div id="results"></div>
|
||||
<script src="../content/shared/libs/react-0.13.3.js"></script>
|
||||
<script src="../content/shared/libs/classnames-2.2.0.js"></script>
|
||||
<script src="../content/shared/libs/lodash-3.9.3.js"></script>
|
||||
<script src="../content/shared/libs/backbone-1.2.1.js"></script>
|
||||
<script src="../content/shared/vendor/react-0.13.3.js"></script>
|
||||
<script src="../content/shared/vendor/classnames-2.2.0.js"></script>
|
||||
<script src="../content/shared/vendor/lodash-3.9.3.js"></script>
|
||||
<script src="../content/shared/vendor/backbone-1.2.1.js"></script>
|
||||
<script src="../test/shared/loop_mocha_utils.js"></script>
|
||||
<script src="../content/shared/js/loopapi-client.js"></script>
|
||||
<script src="fake-mozLoop.js"></script>
|
||||
@ -43,16 +43,16 @@
|
||||
<script src="../content/shared/js/activeRoomStore.js"></script>
|
||||
<script src="../content/shared/js/views.js"></script>
|
||||
<script src="../content/shared/js/textChatStore.js"></script>
|
||||
<script src="../content/js/feedbackViews.js"></script>
|
||||
<script src="../content/panels/js/feedbackViews.js"></script>
|
||||
<script src="../content/shared/js/textChatView.js"></script>
|
||||
<script src="../content/shared/js/urlRegExps.js"></script>
|
||||
<script src="../content/shared/js/linkifiedTextView.js"></script>
|
||||
<script src="../content/js/roomStore.js"></script>
|
||||
<script src="../content/js/roomViews.js"></script>
|
||||
<script src="../content/panels/js/roomStore.js"></script>
|
||||
<script src="../content/panels/js/roomViews.js"></script>
|
||||
<script src="../standalone/content/js/webapp.js"></script>
|
||||
<script src="../standalone/content/js/standaloneRoomViews.js"></script>
|
||||
<script src="../content/js/panel.js"></script>
|
||||
<script src="../content/js/conversation.js"></script>
|
||||
<script src="../content/panels/js/panel.js"></script>
|
||||
<script src="../content/panels/js/conversation.js"></script>
|
||||
<script src="react-frame-component.js"></script>
|
||||
<script src="ui-showcase.js"></script>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user