mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Fix js strict warnings about redeclaration of vars. sr=ben
This commit is contained in:
parent
f7e822c8f1
commit
732d1220f6
@ -260,9 +260,9 @@ var bookmarksDNDObserver = {
|
||||
*/
|
||||
|
||||
var sourceID = [], parentID = [], nameRequired = [], name = [];
|
||||
|
||||
var flavourData;
|
||||
for (i = 0; i < numObjects; ++i) {
|
||||
var flavourData = aXferData.dataList[i].first;
|
||||
flavourData = aXferData.dataList[i].first;
|
||||
nameRequired[i] = false;
|
||||
name[i] = null;
|
||||
var data = flavourData.data;
|
||||
@ -308,9 +308,9 @@ var bookmarksDNDObserver = {
|
||||
}
|
||||
|
||||
for (i = 0; i < numObjects; ++i) {
|
||||
var flavourData = aXferData.dataList[i].first;
|
||||
var rSource = this.getResource(sourceID[i]);
|
||||
var rParent = parentID[i] ? this.getResource(parentID[i]) : null;
|
||||
flavourData = aXferData.dataList[i].first;
|
||||
rSource = this.getResource(sourceID[i]);
|
||||
rParent = parentID[i] ? this.getResource(parentID[i]) : null;
|
||||
|
||||
// XXX if any of the following fails, the nodes are gone for good!
|
||||
const kDSIID = Components.interfaces.nsIDragService;
|
||||
|
Loading…
Reference in New Issue
Block a user