mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
jshint fix
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
}
|
||||
|
||||
// transition
|
||||
keys = ['webkitTransition', 'mozTransition', 'transition']
|
||||
keys = ['webkitTransition', 'mozTransition', 'transition'];
|
||||
for(i = 0; i < keys.length; i++) {
|
||||
if(document.documentElement.style[keys[i]] !== undefined) {
|
||||
ionic.CSS.TRANSITION = keys[i];
|
||||
@@ -41,12 +41,12 @@
|
||||
for(x=0; x<arguments.length; x++) {
|
||||
fn(classes, classes.indexOf(arguments[x]), arguments[x]);
|
||||
}
|
||||
|
||||
|
||||
self.className = classes.join(" ");
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
return {
|
||||
add: update(function(classes, index, value) {
|
||||
~index || classes.push(value);
|
||||
}),
|
||||
@@ -75,7 +75,7 @@
|
||||
// polyfill use to simulate native "tap"
|
||||
ionic.tapElement = function(target, e) {
|
||||
// simulate a normal click by running the element's click method then focus on it
|
||||
|
||||
|
||||
var ele = target.control || target;
|
||||
|
||||
if(ele.disabled) return;
|
||||
|
||||
Reference in New Issue
Block a user