mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
code gardening missing semicolons
Signed-off-by: Andre Dublin <81dublin@gmail.com>
This commit is contained in:
@@ -334,8 +334,8 @@ IonicModule
|
||||
return function(opts) {
|
||||
opts.useSlowAnimations = useSlowAnimations;
|
||||
return ionic.Animation.create(opts);
|
||||
}
|
||||
}]
|
||||
};
|
||||
}];
|
||||
});
|
||||
|
||||
/**
|
||||
@@ -1338,7 +1338,7 @@ function($rootScope, $document, $compile, $timeout, $ionicPlatform, $ionicTempla
|
||||
self.el.classList.remove('hide');
|
||||
$timeout(function(){
|
||||
$document[0].body.classList.add('modal-open');
|
||||
}, 400)
|
||||
}, 400);
|
||||
|
||||
|
||||
if(!self.el.parentElement) {
|
||||
@@ -2689,7 +2689,7 @@ IonicModule
|
||||
*
|
||||
* Example: `$ionicTabsDelegate.$getByHandle('my-handle').select(0);`
|
||||
*/
|
||||
]))
|
||||
]));
|
||||
|
||||
|
||||
IonicModule
|
||||
@@ -3604,7 +3604,7 @@ function($scope, $element, $attrs, $ionicViewService, $animate, $compile, $ionic
|
||||
});
|
||||
});
|
||||
};
|
||||
}])
|
||||
}]);
|
||||
|
||||
|
||||
/**
|
||||
@@ -4706,7 +4706,7 @@ IonicModule
|
||||
$element[0].classList.add('active');
|
||||
infiniteScrollCtrl.isLoading = true;
|
||||
$scope.$parent && $scope.$parent.$apply($attrs.onInfinite || '');
|
||||
}
|
||||
};
|
||||
|
||||
var finishInfiniteScroll = function() {
|
||||
$element[0].classList.remove('active');
|
||||
@@ -5243,7 +5243,7 @@ IonicModule
|
||||
});
|
||||
}
|
||||
};
|
||||
}])
|
||||
}]);
|
||||
|
||||
|
||||
/*
|
||||
@@ -7026,4 +7026,4 @@ IonicModule
|
||||
};
|
||||
}]);
|
||||
|
||||
})();
|
||||
})();
|
||||
|
||||
@@ -440,7 +440,7 @@ window.ionic = {
|
||||
evt.initEvent(event, params.bubbles, params.cancelable);
|
||||
}
|
||||
return evt;
|
||||
}
|
||||
};
|
||||
CustomEvent.prototype = window.Event.prototype;
|
||||
return CustomEvent;
|
||||
})();
|
||||
@@ -2940,7 +2940,7 @@ ionic.DomUtil.ready(function(){
|
||||
|
||||
end: function() {
|
||||
// clear out any active/queued elements after XX milliseconds
|
||||
clearTimeout(this._activateTimeout)
|
||||
clearTimeout(this._activateTimeout);
|
||||
setTimeout(clear, 200);
|
||||
}
|
||||
|
||||
@@ -3630,7 +3630,7 @@ var zyngaCore = { effect: {} };
|
||||
|
||||
if (isNative) {
|
||||
return function(callback, root) {
|
||||
requestFrame(callback, root)
|
||||
requestFrame(callback, root);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6573,7 +6573,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
|
||||
// utilities
|
||||
var noop = function() {}; // simple no operation function
|
||||
var offloadFn = function(fn) { setTimeout(fn || noop, 0) }; // offload a functions execution
|
||||
var offloadFn = function(fn) { setTimeout(fn || noop, 0); }; // offload a functions execution
|
||||
|
||||
// check browser capabilities
|
||||
var browser = {
|
||||
@@ -6879,7 +6879,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
delta = {
|
||||
x: touches.pageX - start.x,
|
||||
y: touches.pageY - start.y
|
||||
}
|
||||
};
|
||||
|
||||
// determine if scrolling test has run - one time test
|
||||
if ( typeof isScrolling == 'undefined') {
|
||||
@@ -7002,11 +7002,11 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
|
||||
// kill touchmove and touchend event listeners until touchstart called again
|
||||
if(browser.touch) {
|
||||
element.removeEventListener('touchmove', events, false)
|
||||
element.removeEventListener('touchend', events, false)
|
||||
element.removeEventListener('touchmove', events, false);
|
||||
element.removeEventListener('touchend', events, false);
|
||||
} else {
|
||||
element.removeEventListener('mousemove', events, false)
|
||||
element.removeEventListener('mouseup', events, false)
|
||||
element.removeEventListener('mousemove', events, false);
|
||||
element.removeEventListener('mouseup', events, false);
|
||||
document.removeEventListener('mouseup', events, false);
|
||||
}
|
||||
|
||||
@@ -7023,7 +7023,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
// Public API
|
||||
this.update = function() {
|
||||
@@ -7146,10 +7146,10 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
|
||||
} else {
|
||||
|
||||
window.onresize = function () { setup() }; // to play nice with old IE
|
||||
window.onresize = function () { setup(); }; // to play nice with old IE
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
});
|
||||
@@ -7764,7 +7764,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
percent: percent,
|
||||
iteration: iteration,
|
||||
reverse: reverse
|
||||
}
|
||||
};
|
||||
},
|
||||
restart: function() {
|
||||
},
|
||||
@@ -7797,7 +7797,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
reverse: this.reverse,
|
||||
repeat: this.repeat,
|
||||
autoReverse: this.autoReverse
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
if(this._pauseState) {
|
||||
@@ -7868,7 +7868,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
// Start fresh either way
|
||||
start = time();
|
||||
ionic.requestAnimationFrame(step);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// This is the internal step method which is called every few milliseconds
|
||||
@@ -7989,7 +7989,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
function B3(t) { return 3*t*(1-t)*(1-t); }
|
||||
function B4(t) { return (1-t)*(1-t)*(1-t); }
|
||||
|
||||
ionic.Animation = ionic.Animation || {}
|
||||
ionic.Animation = ionic.Animation || {};
|
||||
|
||||
|
||||
/**
|
||||
@@ -8481,7 +8481,7 @@ var glMatrix = {};
|
||||
*/
|
||||
glMatrix.setMatrixArrayType = function(type) {
|
||||
GLMAT_ARRAY_TYPE = type;
|
||||
}
|
||||
};
|
||||
|
||||
if(typeof(exports) !== 'undefined') {
|
||||
exports.glMatrix = glMatrix;
|
||||
@@ -44411,4 +44411,4 @@ IonicModule
|
||||
};
|
||||
}]);
|
||||
|
||||
})();
|
||||
})();
|
||||
|
||||
@@ -433,7 +433,7 @@ window.ionic = {
|
||||
evt.initEvent(event, params.bubbles, params.cancelable);
|
||||
}
|
||||
return evt;
|
||||
}
|
||||
};
|
||||
CustomEvent.prototype = window.Event.prototype;
|
||||
return CustomEvent;
|
||||
})();
|
||||
@@ -2933,7 +2933,7 @@ ionic.DomUtil.ready(function(){
|
||||
|
||||
end: function() {
|
||||
// clear out any active/queued elements after XX milliseconds
|
||||
clearTimeout(this._activateTimeout)
|
||||
clearTimeout(this._activateTimeout);
|
||||
setTimeout(clear, 200);
|
||||
}
|
||||
|
||||
@@ -3623,7 +3623,7 @@ var zyngaCore = { effect: {} };
|
||||
|
||||
if (isNative) {
|
||||
return function(callback, root) {
|
||||
requestFrame(callback, root)
|
||||
requestFrame(callback, root);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6566,7 +6566,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
|
||||
// utilities
|
||||
var noop = function() {}; // simple no operation function
|
||||
var offloadFn = function(fn) { setTimeout(fn || noop, 0) }; // offload a functions execution
|
||||
var offloadFn = function(fn) { setTimeout(fn || noop, 0); }; // offload a functions execution
|
||||
|
||||
// check browser capabilities
|
||||
var browser = {
|
||||
@@ -6872,7 +6872,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
delta = {
|
||||
x: touches.pageX - start.x,
|
||||
y: touches.pageY - start.y
|
||||
}
|
||||
};
|
||||
|
||||
// determine if scrolling test has run - one time test
|
||||
if ( typeof isScrolling == 'undefined') {
|
||||
@@ -6995,11 +6995,11 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
|
||||
// kill touchmove and touchend event listeners until touchstart called again
|
||||
if(browser.touch) {
|
||||
element.removeEventListener('touchmove', events, false)
|
||||
element.removeEventListener('touchend', events, false)
|
||||
element.removeEventListener('touchmove', events, false);
|
||||
element.removeEventListener('touchend', events, false);
|
||||
} else {
|
||||
element.removeEventListener('mousemove', events, false)
|
||||
element.removeEventListener('mouseup', events, false)
|
||||
element.removeEventListener('mousemove', events, false);
|
||||
element.removeEventListener('mouseup', events, false);
|
||||
document.removeEventListener('mouseup', events, false);
|
||||
}
|
||||
|
||||
@@ -7016,7 +7016,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
// Public API
|
||||
this.update = function() {
|
||||
@@ -7139,10 +7139,10 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
|
||||
} else {
|
||||
|
||||
window.onresize = function () { setup() }; // to play nice with old IE
|
||||
window.onresize = function () { setup(); }; // to play nice with old IE
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
});
|
||||
@@ -7757,7 +7757,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
percent: percent,
|
||||
iteration: iteration,
|
||||
reverse: reverse
|
||||
}
|
||||
};
|
||||
},
|
||||
restart: function() {
|
||||
},
|
||||
@@ -7790,7 +7790,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
reverse: this.reverse,
|
||||
repeat: this.repeat,
|
||||
autoReverse: this.autoReverse
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
if(this._pauseState) {
|
||||
@@ -7861,7 +7861,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
// Start fresh either way
|
||||
start = time();
|
||||
ionic.requestAnimationFrame(step);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// This is the internal step method which is called every few milliseconds
|
||||
@@ -7982,7 +7982,7 @@ ionic.views.Slider = ionic.views.View.inherit({
|
||||
function B3(t) { return 3*t*(1-t)*(1-t); }
|
||||
function B4(t) { return (1-t)*(1-t)*(1-t); }
|
||||
|
||||
ionic.Animation = ionic.Animation || {}
|
||||
ionic.Animation = ionic.Animation || {};
|
||||
|
||||
|
||||
/**
|
||||
@@ -8474,7 +8474,7 @@ var glMatrix = {};
|
||||
*/
|
||||
glMatrix.setMatrixArrayType = function(type) {
|
||||
GLMAT_ARRAY_TYPE = type;
|
||||
}
|
||||
};
|
||||
|
||||
if(typeof(exports) !== 'undefined') {
|
||||
exports.glMatrix = glMatrix;
|
||||
@@ -12659,4 +12659,4 @@ if(typeof(exports) !== 'undefined') {
|
||||
};
|
||||
})(window);
|
||||
|
||||
})();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user