Closed nnattawat closed 8 years ago
Can you give an overview of all the API changes/ use cases that result from this?
As the code base have been added/modified quite a lot, I just find it is quite difficult to read and debug especially those very long nested if/else statements. I think it's time to refactor it a bit by separating them into small methods so that anyone can understand code by skimming quickly. It's a good starting point for me to have a look at existing issues and it also makes it more easier to get contributed.
PS: All features are kept the same and been tested thoroughly 😄
Oh okay i see, looks good to me then 👍
Wrap all APIs into Object and attach to DOM as
.data('flip-model')