mirror of
https://github.com/google/blockly.git
synced 2026-01-05 08:00:09 +01:00
Stops collisions with ES6's Generator. The old Blockly.Generator still exists as a name, but is now deprecated.
14 lines
393 B
Plaintext
14 lines
393 B
Plaintext
/* eslint-disable */
|
|
;(function(root, factory) {
|
|
if (typeof define === 'function' && define.amd) { // AMD
|
|
define(<%= amd %>, factory);
|
|
} else if (typeof exports === 'object') { // Node.js
|
|
module.exports = factory(<%= cjs %>);
|
|
} else { // Browser
|
|
root.<%= namespace %> = factory(<%= global %>);
|
|
}
|
|
}(this, function(<%= param %>) {
|
|
<%= contents %>
|
|
return <%= exports %>;
|
|
}));
|