index.js 479 B

1234567891011121314
  1. import './utils/math'
  2. import { luckysheet } from './core'
  3. import __firefox from './utils/polyfill'
  4. // Prevent gulp warning: 'Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification'
  5. // window.evall = window.eval;
  6. // polyfill event in firefox
  7. if(window.addEventListener && (navigator.userAgent.indexOf("Firefox") > 0)){
  8. __firefox();
  9. }
  10. // export default luckysheet;
  11. // use esbuild,bundle iife format
  12. module.exports = luckysheet