game.js 292 B

123456789
  1. if ((typeof swan !== 'undefined') && (typeof swanGlobal !== 'undefined')) {
  2. require("swan-game-adapter.js");
  3. require("libs/laya.bdmini.js");
  4. } else if (typeof wx!=="undefined") {
  5. require("weapp-adapter.js");
  6. require("libs/laya.wxmini.js");
  7. }
  8. window.loadLib = require;
  9. require("index.js");