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

@ -49,8 +49,10 @@
"use strict";
var Usr = require("../../shared/es6/usrlib");
var Web = require("../../shared/es6/weblib");
if (NODE) {
var Usr = require("../../shared/es6/usrlib");
var Web = require("../../shared/es6/weblib");
}
/**
* Since the Closure Compiler treats ES6 classes as @struct rather than @dict by default,
@ -1062,4 +1064,4 @@ if (!Function.prototype.bind) {
};
}
module.exports = Component;
if (NODE) module.exports = Component;