janekptacijarabaci 2018-05-02 07:08:14 +02:00 • committed by Roy Tam
commit 9ab20590c6
5 changed files with 10 additions and 10 deletions

View file

@ -139,7 +139,7 @@ var Client = Class({
.then(this.onReady.bind(this, this.root), this.onFail);
} else {
var actor = this.get(packet.from) || this.root;
var event = actor.events[packet.type];
event = actor.events[packet.type];
if (event) {
var message = new MessageEvent(packet.type, {
data: event.read(packet)

View file

@ -2,12 +2,12 @@
* 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";
module.metadata = {
"stability": "experimental"
};
"use strict";
const { Cu } = require("chrome");
function makeGetterFor(Type) {