mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-30 16:25:46 +01:00
Experimentally move contexts.js to contexts.jsm.
--HG-- branch : groups rename : common/content/contexts.js => common/modules/contexts.jsm
This commit is contained in:
@@ -981,7 +981,8 @@ let StructBase = Class("StructBase", Array, {
|
||||
}
|
||||
}, {
|
||||
fromArray: function (ary) {
|
||||
ary.__proto__ = this.prototype;
|
||||
if (!(ary instanceof this))
|
||||
ary.__proto__ = this.prototype;
|
||||
return ary;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user