From af32e95576c719f46acb6228ffca9a0583ee6db8 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 28 Dec 2015 18:17:49 +0000 Subject: [PATCH] Linting --- project/pages/views.py | 1 + static/src/js/app.js | 2 +- static/src/js/{utils.js => events.js} | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename static/src/js/{utils.js => events.js} (93%) diff --git a/project/pages/views.py b/project/pages/views.py index 0df5e29..9cefc8e 100644 --- a/project/pages/views.py +++ b/project/pages/views.py @@ -33,6 +33,7 @@ class AboutIndexView(CustomTemplate): template_name = 'about/index.html' html_title = "About" + class AboutMeView(CustomTemplate): template_name = 'about/me.html' html_title = "About Me" diff --git a/static/src/js/app.js b/static/src/js/app.js index ba8883e..762c6a9 100644 --- a/static/src/js/app.js +++ b/static/src/js/app.js @@ -1,6 +1,6 @@ /* global $ */ -require('./utils.js'); +require('./events.js'); var React = require('react'); var ProjectImagesTypes = require('./components/index/project-images-types'); diff --git a/static/src/js/utils.js b/static/src/js/events.js similarity index 93% rename from static/src/js/utils.js rename to static/src/js/events.js index 547ab5d..785ec7b 100644 --- a/static/src/js/utils.js +++ b/static/src/js/events.js @@ -18,5 +18,5 @@ $(function() { // https://css-tricks.com/snippets/jquery/smooth-scrolling/ $('a[href="soon"]').click(function (e) { e.preventDefault(); - alert("Content coming soon, stand by!"); + alert('Content coming soon, stand by!'); });