User:Theleekycauldron/Scripts/PSHAW/dependencies/Hook.js: Difference between revisions

Content deleted Content added
update
initialize m
Line 19:
this.content = content;
this.articles = []
for (let m of this.content.matchAll(/'''[^']*?\[\[(.*?)]].*?'''|\[\[.*'''(.*?)''']]/g)){
this.articles.push(n[1])
}