From e482712126d3e8a489f5c68507f7aba87194c590 Mon Sep 17 00:00:00 2001 From: Ryan Schmukler Date: Thu, 13 Aug 2015 17:59:28 -0700 Subject: [PATCH] build(closure): fix invalid closure syntax generation --- src/core/core.js | 8 ++++---- src/core/util/animation/animate.js | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/core/core.js b/src/core/core.js index 12b6632879d..48b82a50dd0 100644 --- a/src/core/core.js +++ b/src/core/core.js @@ -5,10 +5,10 @@ */ angular .module('material.core', [ - 'ngAnimate', // Core uses $animate - 'material.animate', // for $animateCss polyfill with Angular < 1.4 - 'material.core.gestures', // for $mdGesture - 'material.core.theming' // for $mdTheme + 'ngAnimate', + 'material.animate', + 'material.core.gestures', + 'material.core.theming' ]) .config( MdCoreConfigure ); diff --git a/src/core/util/animation/animate.js b/src/core/util/animation/animate.js index b8e2dda4601..93be841d2f0 100644 --- a/src/core/util/animation/animate.js +++ b/src/core/util/animation/animate.js @@ -1,3 +1,4 @@ +// Polyfill angular < 1.4 (provide $animateCss) angular .module('material.core') .factory('$$mdAnimate', function($q, $timeout, $mdConstant, $animateCss){