1
0
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:
Kris Maglione
2011-02-10 21:36:03 -05:00
parent 56a28ec0fa
commit 30e2971424
10 changed files with 419 additions and 344 deletions

View File

@@ -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;
},