Commit 89e32a30 authored by BigBlueHat's avatar BigBlueHat

Made directive/spinner.js match code style

Added use strict.
Removed unused `attrs` var;
parent 7b33f41b
module.exports = ['$animate', function ($animate) {
module.exports = ['$animate', function($animate) {
'use strict';
return {
link: function (scope, elem, attrs) {
link: function(scope, elem) {
// ngAnimate conflicts with the spinners own CSS
$animate.enabled(false, elem);
},
restrict: 'C',
template: '<span><span></span></span>'
}
};
}];
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