vta / modeify

A web-based UI for delivering personalized commute information to travelers
Other
4 stars 1 forks source link

Animations should be done with CSS #1

Open Kyle-Falconer opened 8 years ago

Kyle-Falconer commented 8 years ago

in certain areas of the code, jQuery animations are used. These should be replaced with CSS3 animations.

example from client/locations-view/index.js:

View.prototype.scrollDown = function (num, duration) {
  duration = duration || 200;
  console.log('scroll down', num)
  $('.fullscreen').animate({
    scrollTop: num
  }, duration);
};