From 407325674cc4109d082ad1dc1cc1e213d76b5183 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 11 Dec 2015 08:44:48 +0000 Subject: [PATCH] Changed folder structure for scripts --- static/src/js/app.js | 4 ++-- static/src/js/components/{ => index}/project-image.js | 0 static/src/js/components/{ => index}/project-images-main.js | 0 static/src/js/components/{ => index}/project-images-types.js | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename static/src/js/components/{ => index}/project-image.js (100%) rename static/src/js/components/{ => index}/project-images-main.js (100%) rename static/src/js/components/{ => index}/project-images-types.js (100%) diff --git a/static/src/js/app.js b/static/src/js/app.js index 85ca3eb..ba8883e 100644 --- a/static/src/js/app.js +++ b/static/src/js/app.js @@ -3,8 +3,8 @@ require('./utils.js'); var React = require('react'); -var ProjectImagesTypes = require('./components/project-images-types'); -var ProjectImagesMain = require('./components/project-images-main'); +var ProjectImagesTypes = require('./components/index/project-images-types'); +var ProjectImagesMain = require('./components/index/project-images-main'); if ($('body').hasClass('index')) { // Render components on index React.render(, document.getElementById('project-images-types')); diff --git a/static/src/js/components/project-image.js b/static/src/js/components/index/project-image.js similarity index 100% rename from static/src/js/components/project-image.js rename to static/src/js/components/index/project-image.js diff --git a/static/src/js/components/project-images-main.js b/static/src/js/components/index/project-images-main.js similarity index 100% rename from static/src/js/components/project-images-main.js rename to static/src/js/components/index/project-images-main.js diff --git a/static/src/js/components/project-images-types.js b/static/src/js/components/index/project-images-types.js similarity index 100% rename from static/src/js/components/project-images-types.js rename to static/src/js/components/index/project-images-types.js