Let's switch from import back to require, to simplify future Node support

This commit is contained in:
Jeff Parsons 2016-12-27 17:16:18 -08:00 committed by Jeff Parsons
commit 5e2073f3ac
37 changed files with 179 additions and 166 deletions

View file

@ -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;