Skip to content

Commit

Permalink
Remove client-side profile forms
Browse files Browse the repository at this point in the history
Remove the client-side profile forms which are now implemented on the
server. This actually removes a couple of dependencies which we can also
remove. In particular the "tabbable" directive from angular-bootstrap is
no longer needed.
  • Loading branch information
nickstenning committed Oct 21, 2015
1 parent e2cdf3b commit 3939b43
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 1,031 deletions.
5 changes: 0 additions & 5 deletions h/assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ angular_animate:
filters: uglifyjs
output: scripts/vendor/angular-animate.min.js
contents: ../../node_modules/angular-animate/angular-animate.js
angular_bootstrap:
filters: uglifyjs
output: scripts/vendor/angular-bootstrap-tabbable.min.js
contents: h:static/scripts/vendor/angular-bootstrap-tabbable.js
angular_resource:
filters: uglifyjs
output: scripts/vendor/angular-resource.min.js
Expand Down Expand Up @@ -115,7 +111,6 @@ app_js:
- jquery
- angular
- angular_animate
- angular_bootstrap
- angular_resource
- angular_route
- angular_sanitize
Expand Down
147 changes: 0 additions & 147 deletions h/static/scripts/account-controller.js

This file was deleted.

5 changes: 0 additions & 5 deletions h/static/scripts/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ module.exports = angular.module('h', [
'angulartics'
'angulartics.google.analytics'
'angular-jwt'
'bootstrap'
'ngAnimate'
'ngResource'
'ngRoute'
Expand All @@ -98,7 +97,6 @@ module.exports = angular.module('h', [
])

.controller('AppController', require('./app-controller'))
.controller('AccountController', require('./account-controller'))
.controller('AnnotationUIController', require('./annotation-ui-controller'))
.controller('AnnotationViewerController', require('./annotation-viewer-controller'))
.controller('AuthController', require('./auth-controller'))
Expand All @@ -116,10 +114,7 @@ module.exports = angular.module('h', [
.directive('statusButton', require('./directive/status-button'))
.directive('thread', require('./directive/thread'))
.directive('threadFilter', require('./directive/thread-filter'))
.directive('match', require('./directive/match'))
.directive('spinner', require('./directive/spinner'))
.directive('tabbable', require('./directive/tabbable'))
.directive('tabReveal', require('./directive/tab-reveal'))
.directive('shareDialog', require('./directive/share-dialog'))
.directive('windowScroll', require('./directive/window-scroll'))
.directive('dropdownMenuBtn', require('./directive/dropdown-menu-btn'))
Expand Down
12 changes: 0 additions & 12 deletions h/static/scripts/directive/match.coffee

This file was deleted.

41 changes: 0 additions & 41 deletions h/static/scripts/directive/tab-reveal.coffee

This file was deleted.

16 changes: 0 additions & 16 deletions h/static/scripts/directive/tabbable.coffee

This file was deleted.

49 changes: 0 additions & 49 deletions h/static/scripts/directive/test/match-test.coffee

This file was deleted.

1 change: 0 additions & 1 deletion h/static/scripts/karma.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ module.exports = function(config) {
'../../../node_modules/angular-route/angular-route.js',
'../../../node_modules/angular-sanitize/angular-sanitize.js',
'../../../node_modules/ng-tags-input/build/ng-tags-input.min.js',
'vendor/angular-bootstrap-tabbable.js',
'vendor/katex.js',

// Test deps
Expand Down

0 comments on commit 3939b43

Please sign in to comment.