rothko
Version:
what color is your landscape
30 lines (29 loc) • 830 B
JavaScript
// drawing-kit.js
//
// zeakd
(function(factory){
'use strict'
// commonjs
if (typeof exports === "object" && typeof module !== "undefined") {
module.export = factory();
// amd
} else if (typeof define === 'function' && define.amd) {
define(factory);
// <script>
} else {
var root;
if (typeof window !== "undefined") {
root = window;
} else if (typeof global !== "undefined") {
root = global;
} else if (typeof self !== "undefined") {
root = self;
} else {
// works providing we're not in "use strict";
// needed for Java 8 Nashorn
// see https://github.com/facebook/react/issues/3037
root = this;
}
root.drawingKit = factory();
}
}(function(){