Update library
This commit is contained in:
parent
fd6c08937a
commit
5d5e77a110
@ -15,7 +15,7 @@
|
|||||||
http://github.com/piroor/fxaddonlib-tabs-drag-utils
|
http://github.com/piroor/fxaddonlib-tabs-drag-utils
|
||||||
*/
|
*/
|
||||||
(function() {
|
(function() {
|
||||||
const currentRevision = 30;
|
const currentRevision = 31;
|
||||||
|
|
||||||
if (!('piro.sakura.ne.jp' in window)) window['piro.sakura.ne.jp'] = {};
|
if (!('piro.sakura.ne.jp' in window)) window['piro.sakura.ne.jp'] = {};
|
||||||
|
|
||||||
@ -970,17 +970,14 @@
|
|||||||
|
|
||||||
function StringList(aTypes)
|
function StringList(aTypes)
|
||||||
{
|
{
|
||||||
return {
|
return Object.create(aTypes, {
|
||||||
__proto__ : aTypes,
|
item : { value : function(aIndex) {
|
||||||
item : function(aIndex)
|
|
||||||
{
|
|
||||||
return this[aIndex];
|
return this[aIndex];
|
||||||
},
|
} },
|
||||||
contains : function(aType)
|
contains : { value : function(aType) {
|
||||||
{
|
|
||||||
return this.indexOf(aType) > -1;
|
return this.indexOf(aType) > -1;
|
||||||
}
|
} }
|
||||||
};
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
tabsDragUtils.DOMDataTransferProxy = DOMDataTransferProxy;
|
tabsDragUtils.DOMDataTransferProxy = DOMDataTransferProxy;
|
||||||
|
Loading…
Reference in New Issue
Block a user