jshint fix

This commit is contained in:
Adam Bradley
2014-02-28 10:53:41 -06:00
parent 3e34a84abe
commit cfbb9d6002

View File

@@ -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;