mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
Stops collisions with ES6's Generator. The old Blockly.Generator still exists as a name, but is now deprecated.
17 lines
434 B
Plaintext
17 lines
434 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();
|
|
} else { // Browser
|
|
var messages = factory();
|
|
for (var key in messages) {
|
|
root.<%= namespace %>[key] = messages[key];
|
|
}
|
|
}
|
|
}(this, function() {
|
|
<%= contents %>
|
|
return Blockly.Msg;
|
|
}));
|