Working through Jekyll build issues with uncompiled ES6 code

This commit is contained in:
Jeff Parsons 2017-01-02 14:52:55 -08:00 committed by Jeff Parsons
commit 61e44fbf1f
52 changed files with 385 additions and 285 deletions

View file

@ -28,8 +28,10 @@
"use strict";
var Component = require("../../shared/es6/component");
var ReportAPI = require("../../shared/es6/reportapi");
if (NODE) {
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
@ -1011,4 +1013,4 @@ Web.onPageEvent(Web.isUserAgent("Opera") || Web.isUserAgent("iOS")? 'onunload' :
Web.doPageEvent(Web.aPageEventHandlers['exit']);
});
module.exports = Web;
if (NODE) module.exports = Web;