Skip to content

Commit

Permalink
Bug 853336: widget would fail to load for add-ons with pb permission
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvold committed Mar 22, 2013
1 parent 67dfdb6 commit 51a1d37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/sdk/widget.js
Expand Up @@ -36,7 +36,6 @@ const EVENTS = {
};

const { validateOptions } = require("./deprecated/api-utils");
const panels = require("./panel");
const { EventEmitter, EventEmitterTrait } = require("./deprecated/events");
const { Trait } = require("./deprecated/traits");
const LightTrait = require('./deprecated/light-traits').Trait;
Expand Down Expand Up @@ -66,7 +65,7 @@ const valid = {
},
panel: {
is: ["null", "undefined", "object"],
ok: function(v) !v || v instanceof panels.Panel
ok: function(v) !v || v instanceof require("./panel").Panel
},
width: {
is: ["null", "undefined", "number"],
Expand Down

0 comments on commit 51a1d37

Please sign in to comment.