dicom-microscopy-viewer-changed
Version:
Interactive web-based viewer for DICOM Microscopy Images
15 lines (12 loc) • 330 B
JavaScript
;
var define = require('define-properties');
var getPolyfill = require('./polyfill');
module.exports = function shimStringTrim() {
var polyfill = getPolyfill();
define(String.prototype, { trim: polyfill }, {
trim: function testTrim() {
return String.prototype.trim !== polyfill;
}
});
return polyfill;
};