You can clone with
No one assigned
I have some huge modules that relie on the JS Standard String prototype functions which conflict with the modification made by colors.js, such as String.bold() and are called by a module which uses colors.js to display colored output on the console.
A typical error I get is:
Property 'bold' of object my string is not a function
Using mode = "browser" does not solve my problems because if I have a string var called x, I'd have to change all code to use x.bold inspite of x.bold().
This has also portability issues.
How can I completely restore the original String prototype only within this module?
Thanks in advance