index.js 622 B

123456789101112131415161718192021222324
  1. /* eslint-disable */
  2. ;(function(root, factory) {
  3. if (typeof define === 'function' && define.amd) { // AMD
  4. define(['./browser'], factory);
  5. } else if (typeof exports === 'object') { // Node.js
  6. module.exports = factory(require('./node'));
  7. } else { // Browser
  8. root.Blockly = factory(root.Blockly);
  9. }
  10. }(this, function(Blockly) {
  11. /**
  12. * @license
  13. * Copyright 2019 Google LLC
  14. * SPDX-License-Identifier: Apache-2.0
  15. */
  16. /**
  17. * @fileoverview Blockly module; this is a wrapper which selects
  18. * either browser.js or node.js, depending on which environment we
  19. * are running in.
  20. */
  21. return Blockly;
  22. }));
粤ICP备19079148号