@nschonni Thanks for the documentation, :smiley: 

Yes this is a shim.

> Is this going to be used by anything? 

I found that trim is used:
* core - jquery - (seem to include it own shim for ```trim```)
* core - pe-ap  (use $.trim())
* core - jquery mobile (seem to use ECMA)
* dependencies - JQuery Validation (use $.trim())
* dependencies - OpenLayers (seem to include it own shim for ```trim```)
* dependencies - metadata (use $.trim())
* dependencies - Flot (use ECMA from an inline jquery.colorhelpers.js)
* dependencies - DataTables (use $.trim())
* dependencies - colorbox (use $.trim())
* dependencies - sessiontimeout (use $.trim())
* plugin - charts (use ECMA)
* plugin - expandcollapseall (use $.trim())

@nschonni, @pjackson28 What are you recommending to me? Use $.trim() instead of requiring to use the shim or include the shim in the charts only?

Thanks