mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-06-30 06:12:08 -06:00
move variable declarations, comment
This commit is contained in:
parent
7a883267ad
commit
3267868932
1 changed files with 4 additions and 3 deletions
|
|
@ -52,6 +52,10 @@ Template.ionSpinner.rendered = function() {
|
|||
dur: DURATION
|
||||
};
|
||||
|
||||
//get icon name and element from blaze template
|
||||
var iconName = this.firstNode.className.split(' ').pop();
|
||||
var iconElement = this.firstNode;
|
||||
|
||||
function createSvgElement(tagName, data, parent, spinnerName) {
|
||||
var ele = document.createElement(SHORTCUTS[tagName] || tagName);
|
||||
var k, x, y;
|
||||
|
|
@ -411,9 +415,6 @@ Template.ionSpinner.rendered = function() {
|
|||
}
|
||||
|
||||
|
||||
var iconName = this.firstNode.className.split(' ').pop();
|
||||
var iconElement = this.firstNode;
|
||||
|
||||
init();
|
||||
|
||||
function init() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue