diff --git a/gulpfile.babel.js b/gulpfile.babel.js index b687b610..9b4092e6 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -74,8 +74,7 @@ gulp.task('compile', () => { const doWatch = !isProduction; return gulp.src([ - './src/client/app.js', - './src/client/instagram.js' + './src/client/app.js' ]) .pipe(named()) .pipe(webpack({ diff --git a/src/client/instagram.js b/src/client/instagram.js deleted file mode 100644 index 61c4496a..00000000 --- a/src/client/instagram.js +++ /dev/null @@ -1,23 +0,0 @@ -angular.module('hudozka.instagram', []) - .controller('InstagramController', function ($scope, $http) { - //$scope.auth = function() { - // $http.get("/instagram/auth/url") - // .success(function (data) { - // $window.location.href = data.url; - // }); - //}; - - $http.get('/instagram/user') - .then(i => i.data) - .then(user => { - $scope.user = user; - }); - - $scope.invite = function() { - $http.get('/instagram/invite') - .then(i => i.data) - .success(data => { - $scope.inviteCode = data.code; - }); - }; - }); \ No newline at end of file diff --git a/src/templates/instagram.html b/src/templates/instagram.html deleted file mode 100644 index ada985e7..00000000 --- a/src/templates/instagram.html +++ /dev/null @@ -1,23 +0,0 @@ - - -
-