Fix a bunch of linting errors

eslint --fix and a few manual ones
This commit is contained in:
David Baker 2017-01-20 14:22:27 +00:00
parent 4ba224aac3
commit 18d4d3392a
107 changed files with 290 additions and 290 deletions

View file

@ -129,7 +129,7 @@ matrixLinkify.MATRIXTO_URL_PATTERN = "^(?:https?:\/\/)?(?:www\\.)?matrix\\.to/#/
matrixLinkify.MATRIXTO_BASE_URL= "https://matrix.to";
matrixLinkify.options = {
events: function (href, type) {
events: function(href, type) {
switch (type) {
case "userid":
return {
@ -146,7 +146,7 @@ matrixLinkify.options = {
}
},
formatHref: function (href, type) {
formatHref: function(href, type) {
switch (type) {
case 'roomalias':
case 'userid':