style: missing whitespaces

This commit is contained in:
Manu Mtz.-Almeida
2016-10-06 10:51:18 +02:00
parent 695d25c696
commit e1e6e4be1e
2 changed files with 7 additions and 7 deletions

View File

@ -245,7 +245,7 @@ export class PickerColumnCmp {
this.velocity = 0; this.velocity = 0;
} }
//console.debug(`decelerate y: ${y}, velocity: ${this.velocity}, optHeight: ${this.optHeight}`); // console.debug(`decelerate y: ${y}, velocity: ${this.velocity}, optHeight: ${this.optHeight}`);
var notLockedIn = (y % this.optHeight !== 0 || Math.abs(this.velocity) > 1); var notLockedIn = (y % this.optHeight !== 0 || Math.abs(this.velocity) > 1);

View File

@ -42,7 +42,7 @@ export class Haptic {
* Trigger a selection changed haptic event. Good for one-time events (not for gestures) * Trigger a selection changed haptic event. Good for one-time events (not for gestures)
*/ */
selection() { selection() {
if(!this.plugin) { if (!this.plugin) {
return; return;
} }
@ -53,7 +53,7 @@ export class Haptic {
* Tell the haptic engine that a gesture for a selection change is starting. * Tell the haptic engine that a gesture for a selection change is starting.
*/ */
gestureSelectionStart() { gestureSelectionStart() {
if(!this.plugin) { if (!this.plugin) {
return; return;
} }
@ -64,7 +64,7 @@ export class Haptic {
* Tell the haptic engine that a selection changed during a gesture. * Tell the haptic engine that a selection changed during a gesture.
*/ */
gestureSelectionChanged() { gestureSelectionChanged() {
if(!this.plugin) { if (!this.plugin) {
return; return;
} }
@ -76,7 +76,7 @@ export class Haptic {
* called lest resources are not properly recycled. * called lest resources are not properly recycled.
*/ */
gestureSelectionEnd() { gestureSelectionEnd() {
if(!this.plugin) { if (!this.plugin) {
return; return;
} }
@ -88,7 +88,7 @@ export class Haptic {
* options should be of the type { type: 'success' } (or 'warning'/'error') * options should be of the type { type: 'success' } (or 'warning'/'error')
*/ */
notification(options: { type: string }) { notification(options: { type: string }) {
if(!this.plugin) { if (!this.plugin) {
return; return;
} }
@ -100,7 +100,7 @@ export class Haptic {
* options should be of the type { style: 'light' } (or 'medium'/'heavy') * options should be of the type { style: 'light' } (or 'medium'/'heavy')
*/ */
impact(options: { style: string }) { impact(options: { style: string }) {
if(!this.plugin) { if (!this.plugin) {
return; return;
} }