From 692e687412416e14bcf4084e9bc67c92fcdb0057 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 12 Jan 2015 08:51:56 -0800 Subject: Fixed some linter errors. --- js/lib/common.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'js/lib/common.js') diff --git a/js/lib/common.js b/js/lib/common.js index 05640e3..06486d3 100644 --- a/js/lib/common.js +++ b/js/lib/common.js @@ -1,5 +1,7 @@ "use strict"; +/* global unescape */ + var entityToChar = require('./html5-entities.js').entityToChar; var ENTITY = "&(?:#x[a-f0-9]{1,8}|#[0-9]{1,8}|[a-z][a-z0-9]{1,31});"; @@ -35,7 +37,7 @@ var unescapeString = function(s) { var normalizeURI = function(uri) { return encodeURI(unescape(uri)); -} +}; var replaceUnsafeChar = function(s) { switch (s) { @@ -66,5 +68,5 @@ var escapeXml = function(s, preserve_entities) { module.exports = { unescapeString: unescapeString, normalizeURI: normalizeURI, - escapeXml: escapeXml, + escapeXml: escapeXml }; -- cgit v1.2.3