hayeah / fork2-rails

fork2 rails web app
MIT License
1 stars 0 forks source link

revert ghostdown.js monkey patch #3

Open hayeah opened 10 years ago

hayeah commented 10 years ago

Generally it's a nightmare to monkey patch the source of third-party libraries.

It makes future updates difficult.

In our case, we could simply make it work by adding the word counter, and using css to hide it. It's stupid, but it actually makes things simpler in the long run...

cj1128 commented 10 years ago

I had thought about this solution,but adding something and hiding it looks like unnecessary.however,you are right,I should never modify third-party libraries.