Skip to content

Commit

Permalink
Change a few things to ES6 + Use CDN's to reduce main.js filesize on …
Browse files Browse the repository at this point in the history
…server [Attempt to reduce loading time]
  • Loading branch information
gevalo1 committed Nov 30, 2016
1 parent 0955b96 commit ad74f69
Show file tree
Hide file tree
Showing 24 changed files with 15 additions and 349 deletions.
3 changes: 0 additions & 3 deletions client/app/app.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import angular from 'angular';

// Import our app config files
import constants from './config/app.constants';
import appConfig from './config/app.config';
import appRun from './config/app.run';
import 'angular-ui-router';
// Import our templates file (generated by Gulp)
import './config/app.templates';
// Import our app functionaity
Expand All @@ -14,7 +12,6 @@ import './home';
import './services'
import './auth';
import './canvas';
import 'angular-material';
//development
//import './normalize.css';
//import './style.css';
Expand Down
4 changes: 2 additions & 2 deletions client/app/auth/auth.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function AuthConfig($stateProvider, $httpProvider) {
templateUrl: 'auth/auth.html',
title: 'Sign in',
resolve: {
auth: function(User) {
auth: (User) => {
return User.ensureAuthIs(false);
}
}
Expand All @@ -22,7 +22,7 @@ function AuthConfig($stateProvider, $httpProvider) {
templateUrl: 'auth/auth.html',
title: 'Sign up',
resolve: {
auth: function(User) {
auth: (User) => {
return User.ensureAuthIs(false);
}
}
Expand Down
2 changes: 0 additions & 2 deletions client/app/auth/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import angular from 'angular';

// Create the home module where our functionality can attach to
let authModule = angular.module('app.auth', []);


// Include our UI-Router config settings
import AuthConfig from './auth.config';
authModule.config(AuthConfig);
Expand Down
2 changes: 0 additions & 2 deletions client/app/canvas/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import angular from 'angular';

// Create the module where our functionality can attach to
let canvasModule = angular.module('app.canvas', []);

Expand Down
68 changes: 0 additions & 68 deletions client/app/components/article-helpers/article-list.component.js

This file was deleted.

20 changes: 0 additions & 20 deletions client/app/components/article-helpers/article-list.html

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions client/app/components/article-helpers/article-meta.html

This file was deleted.

This file was deleted.

21 changes: 0 additions & 21 deletions client/app/components/article-helpers/article-preview.html

This file was deleted.

33 changes: 0 additions & 33 deletions client/app/components/article-helpers/list-pagination.component.js

This file was deleted.

14 changes: 0 additions & 14 deletions client/app/components/article-helpers/list-pagination.html

This file was deleted.

47 changes: 0 additions & 47 deletions client/app/components/buttons/favorite-btn.component.js

This file was deleted.

9 changes: 0 additions & 9 deletions client/app/components/buttons/favorite-btn.html

This file was deleted.

45 changes: 0 additions & 45 deletions client/app/components/buttons/follow-btn.component.js

This file was deleted.

8 changes: 0 additions & 8 deletions client/app/components/buttons/follow-btn.html

This file was deleted.

Loading

0 comments on commit ad74f69

Please sign in to comment.