Closed sunteya closed 10 years ago
Hey Sunteya,
I've been conflicted about this pull request for a long time. On one hand, the change you've provided is a very small change, and would allow Cookies.js to work in another browser. On the other hand, ipanel is not a browser I am particularly interested in supporting, especially since doing so would require a less elegant implementation.
In the end, I have decided not to merge this pull request - supporting the ipanel browser is just not a priority for the project.
I apologize for any inconvenience this may cause you, but thank you so much for taking a look at the library and offering to contribute!
I use the cookies-js in a STB project. It contains an old and quirky browser(called ipanel).
If use string.replace and pass native function, it will like this:
It must wrap the native function.