16 lines
356 B
Text
16 lines
356 B
Text
|
(function (window, factory) {
|
||
|
'use strict';
|
||
|
if (typeof define === 'function' && define.amd) {
|
||
|
// AMD
|
||
|
define([], factory);
|
||
|
} else if (typeof exports === 'object') {
|
||
|
// Node.js
|
||
|
module.exports = factory();
|
||
|
} else {
|
||
|
// Browser
|
||
|
window.gradientParser = factory();
|
||
|
}
|
||
|
}(this, function factory() {
|
||
|
// public API
|
||
|
return $1;
|
||
|
}));
|