hi,
is use jsolait and qooxdoo (http://qooxdoo.oss.schlund.de/) in one project. since a few days the qooxdoo library defined a string extension "pad" which overwrites the one included in jsolait. this lead to the problem, that the string-formatting did not work anymore.
it would be great to have special classes/functions with the enhancements of jsolait. for example define a class "JSOLAITString" with the "pad" and "format" methods. the implementations should only call this functions and never the "String.prototype.pad". so the code of your library is separated from the extensions and other libraries.
you can define the "format" extension too, but only as a one-liner which calls the own implementation. if this extension is overwritten by another lib, your code does not break!
and i (as an end user) can include jsolait.js as the last library and so i use your extensions. or i use another library as the last one which redefines your extensions. and if i want your formatting logic i have to call "JSOLAITString.format(...)".
</usc>