From cc2aa67becb348477838e65141ab0bf7dc3e8cc1 Mon Sep 17 00:00:00 2001 From: Hallaathrad Date: Sat, 13 Feb 2016 21:26:59 -0500 Subject: [PATCH] Lint pass --- client/main.js | 2 +- server/boot/randomAPIs.js | 2 +- server/middlewares/csp.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/main.js b/client/main.js index 256b37765b0..e38789ac6c5 100644 --- a/client/main.js +++ b/client/main.js @@ -358,7 +358,7 @@ $(document).ready(function() { mapAside.attr({ src: '/map-aside', scrolling: 'yes' - }); + }); $('.map-aside .iframeWrapper').append(mapAside); main.isMapAsideLoad = true; } diff --git a/server/boot/randomAPIs.js b/server/boot/randomAPIs.js index 8640be20400..eeb01d084ab 100644 --- a/server/boot/randomAPIs.js +++ b/server/boot/randomAPIs.js @@ -177,7 +177,7 @@ module.exports = function(app) { function privacy(req, res) { res.render('resources/privacy', { - title: "Privacy policy" + title: 'Privacy policy' }); } diff --git a/server/middlewares/csp.js b/server/middlewares/csp.js index 36829f2f147..b64036275b2 100644 --- a/server/middlewares/csp.js +++ b/server/middlewares/csp.js @@ -66,7 +66,7 @@ export default function csp() { '*.twitter.com', '*.ghbtns.com', '*.freecatphotoapp.com', - 'freecodecamp.github.io' + 'freecodecamp.github.io' ].concat(trusted) }, // set to true if you only want to report errors