lint compliance
This commit is contained in:
parent
8eccffd8e4
commit
f97685cc15
@ -563,6 +563,7 @@ define([
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// Clean missing href
|
// Clean missing href
|
||||||
|
var parsed;
|
||||||
if (el.href) {
|
if (el.href) {
|
||||||
if (!el.href) {
|
if (!el.href) {
|
||||||
debug("Removing an element in filesData with a missing href.", el);
|
debug("Removing an element in filesData with a missing href.", el);
|
||||||
@ -570,7 +571,7 @@ define([
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
var parsed = Hash.parsePadUrl(el.href);
|
parsed = Hash.parsePadUrl(el.href);
|
||||||
// Clean invalid hash
|
// Clean invalid hash
|
||||||
if (!parsed.hash) {
|
if (!parsed.hash) {
|
||||||
debug("Removing an element in filesData with a invalid href.", el);
|
debug("Removing an element in filesData with a invalid href.", el);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user