Let's switch from import back to require, to simplify future Node support
This commit is contained in:
parent
28f47a3424
commit
5e2073f3ac
37 changed files with 179 additions and 166 deletions
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
import Component from "../../shared/es6/component";
|
||||
import ReportAPI from "../../shared/es6/reportapi";
|
||||
var Component = require("../../shared/es6/component");
|
||||
var ReportAPI = require("../../shared/es6/reportapi");
|
||||
|
||||
/*
|
||||
* According to http://www.w3schools.com/jsref/jsref_obj_global.asp, these are the *global* properties
|
||||
|
|
@ -984,4 +984,4 @@ Web.onPageEvent(Web.isUserAgent("Opera") || Web.isUserAgent("iOS")? 'onunload' :
|
|||
Web.doPageEvent(Web.aPageEventHandlers['exit']);
|
||||
});
|
||||
|
||||
export default Web;
|
||||
module.exports = Web;
|
||||
|
|
|
|||
Loading…
Reference in a new issue