Commit 6c2ff122 authored by Robert Knight's avatar Robert Knight

Remove angular-animate dependency

This reduces the Angular bundle size by about 30KB.

There are no references to ng-{enter, leave, move} or
the other hooks that I could find.

angular-animate was added in fdf132efe7d56de34633451c159b05460769a259
but the mentioned CSS classes no longer exist.
parent 0724dc17
...@@ -76,7 +76,6 @@ module.exports = angular.module('h', [ ...@@ -76,7 +76,6 @@ module.exports = angular.module('h', [
# Angular addons which export the Angular module name # Angular addons which export the Angular module name
# via module.exports # via module.exports
require('angular-jwt') require('angular-jwt')
require('angular-animate')
require('angular-resource') require('angular-resource')
require('angular-route') require('angular-route')
require('angular-sanitize') require('angular-sanitize')
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
"description": "The Internet, peer reviewed.", "description": "The Internet, peer reviewed.",
"dependencies": { "dependencies": {
"angular": "1.5.0", "angular": "1.5.0",
"angular-animate": "1.5.0",
"angular-jwt": "0.0.9", "angular-jwt": "0.0.9",
"angular-mocks": "1.5.0", "angular-mocks": "1.5.0",
"angular-resource": "1.5.0", "angular-resource": "1.5.0",
......
...@@ -13,7 +13,6 @@ module.exports = { ...@@ -13,7 +13,6 @@ module.exports = {
polyfills: [require.resolve('../../h/static/scripts/polyfills')], polyfills: [require.resolve('../../h/static/scripts/polyfills')],
angular: [ angular: [
'angular', 'angular',
'angular-animate',
'angular-jwt', 'angular-jwt',
'angular-resource', 'angular-resource',
'angular-route', 'angular-route',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment