Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove some unnecessary and ESLint-reported things from scripts.js
  • Loading branch information
charmander committed Aug 20, 2019
1 parent a446650 commit 813fb8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/scripts.js
@@ -1,4 +1,4 @@
/* global confirm, marked, Bloodhound, socialSiteList */
/* global marked, Bloodhound, socialSiteList */

(function () {
'use strict';
Expand Down Expand Up @@ -737,7 +737,7 @@
'user-icon'
];

var ALLOWED_STYLE = /^\s*color:\s*(?:\#[0-9a-f]{3}|\#[0-9a-f]{6})(?:\s*;)?\s*$/i;
var ALLOWED_STYLE = /^\s*color:\s*(?:#[0-9a-f]{3}|#[0-9a-f]{6})(?:\s*;)?\s*$/i;

function isAllowedClass(class_) {
return allowedClasses.indexOf(class_) !== -1;
Expand Down

0 comments on commit 813fb8a

Please sign in to comment.