style(tslint): add tslint

Closes #5756
This commit is contained in:
Adam Bradley
2016-04-06 20:48:09 -05:00
parent 86fc741e63
commit d8e670ca7c
19 changed files with 111 additions and 35 deletions

View File

@ -74,11 +74,11 @@ export class ScrollView {
// fraction based on the easing method
let easedT = (--time) * time * time + 1;
if (fromY != y) {
if (fromY !== y) {
self.setTop((easedT * (y - fromY)) + fromY);
}
if (fromX != x) {
if (fromX !== x) {
self._el.scrollLeft = Math.floor((easedT * (x - fromX)) + fromX);
}