1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Code Cleanup (#3178)

Noticed an unused variable in the image parser, from before a old refactor.
This commit is contained in:
Matt Lauber 2018-03-19 11:46:07 -04:00 committed by Jeremy Ruston
parent aa7b18427f
commit bbccb60c0b

View File

@ -17,8 +17,7 @@ var ImageParser = function(type,text,options) {
type: "element",
tag: "img",
attributes: {}
},
src;
};
if(options._canonical_uri) {
element.attributes.src = {type: "string", value: options._canonical_uri};
} else if(text) {