clone icon indicating copy to clipboard operation
clone copied to clipboard

Support for ES6 modules

Open jdthorpe opened this issue 8 years ago • 0 comments

Just a thought, support for ES6 modules could be added by adding one line to the last if block of clone.js like so:

if (typeof module === 'object' && module.exports) {
  module.exports = clone;
  module.exports.default = clone;
}

jdthorpe avatar Jan 26 '17 03:01 jdthorpe