v1.js 640 B

123456789101112131415161718
  1. "use strict";
  2. var _typeof =
  3. typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ?
  4. function(obj) { return typeof obj; } :
  5. function(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
  6. (function(root, f) {
  7. if ((typeof exports === "undefined" ? "undefined" : _typeof(exports)) === 'object' && typeof module !== 'undefined') {
  8. module.exports = f;
  9. } else if (typeof define === 'function' && defind.amd) {
  10. define([], f);
  11. } else {
  12. root.BIRD = f();
  13. }
  14. })(window || global || self || this, function() {
  15. });