UNPKG

to-data-url

Version:

toDataURL ========= [![Build Status](https://travis-ci.org/imyelo/toDataURL.png?branch=master)](https://travis-ci.org/imyelo/toDataURL) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) [![Codeship](https://www.codeship

21 lines 663 B
;(function (definition) { // this is considered "safe": var hasDefine = typeof define === 'function', // hasDefine = typeof define === 'function', hasExports = typeof module !== 'undefined' && module.exports; if (hasDefine) { // AMD Module or CMD Module define(definition); } else if (hasExports) { // Node.js Module definition(require, exports, module); } else { throw new Error('module required'); } })(function (require, exports, module) { module.exports = function (toDataURL, isPhantomJS) { describe('base', function () { require('./toDataURL')(toDataURL, isPhantomJS); }); }; });