#1 Merged
Repository
Deleted repository
Branch
default (fe213d9fa060)
Repository
Apple-Style Flip Counter
Branch
default

Some fixes

Author
  1. Serj Zavadsky
Reviewers
Description

Hi, thanks for cool component :). I had trouble with using multiple instances of it at the same page when all of them shared one options object. My code looks like this:

var options = {
    auto: false
};
viz.click_rate = new flipCounter('click_rate', options);
viz.total_transaction = new flipCounter('total_transaction', options);
viz.sale_amount = new flipCounter('sale_amount', options);

My fix solves this issue (and one typo).

Comments (0)