diff --git a/components/ionSpinner/ionSpinner.js b/components/ionSpinner/ionSpinner.js index 9b5d2a4..e26e5b1 100644 --- a/components/ionSpinner/ionSpinner.js +++ b/components/ionSpinner/ionSpinner.js @@ -435,42 +435,3 @@ Template.ionSpinner.rendered = function() { } - - - - - - -// IonicModule -// .controller('$ionicSpinner', [ -// '$element', -// '$attrs', -// '$ionicConfig', -// function($element, $attrs, $ionicConfig) { -// var spinnerName; - -// this.init = function() { -// spinnerName = $attrs.icon || $ionicConfig.spinner.icon(); - -// var container = document.createElement('div'); -// createSvgElement('svg', { -// viewBox: '0 0 64 64', -// g: [spinners[spinnerName]] -// }, container, spinnerName); - -// // Specifically for animations to work, -// // Android 4.3 and below requires the element to be -// // added as an html string, rather than dynmically -// // building up the svg element and appending it. -// $element.html(container.innerHTML); - -// this.start(); - -// return spinnerName; -// }; - -// this.start = function() { -// animations[spinnerName] && animations[spinnerName]($element[0])(); -// }; - -// }]); \ No newline at end of file