Skip to content

Instantly share code, notes, and snippets.

View tricknotes's full-sized avatar

Ryunosuke Sato tricknotes

View GitHub Profile
@tricknotes
tricknotes / dest-2.js
Last active February 12, 2024 00:04
$ 6to5 source.js -m amd
// 6to5 source.js -m umd
(function (factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "module"], factory);
} else if (typeof exports !== "undefined" && typeof module !== "undefined") {
factory(exports, module);
}
})(function (exports, module) {
"use strict";