We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e883587 commit 73c2a36Copy full SHA for 73c2a36
resource/modules/utils/Piggyback.jsm
@@ -2,7 +2,7 @@
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5
-// VERSION 1.2.3
+// VERSION 1.2.4
6
Modules.UTILS = true;
7
Modules.BASEUTILS = true;
8
@@ -47,7 +47,7 @@ this.Piggyback = {
47
var ids = aObj.__PiggybackIds ? aObj.__PiggybackIds.split(' ') : [];
48
49
// the same method can't be replaced more than once by the same aName (module)
50
- if(aObj[aId] && aObj[aId][aName] && aObj[aId][aName][aMethod]) { return; }
+ if(aObj[aId] && aObj[aId].has(aName) && aObj[aId].get(aName).has(aMethod)) { return; }
51
52
var commander = aKeep || {
53
master: aMaster,
0 commit comments