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

@ -45,12 +45,12 @@
* to further reduce some of the duplication between them, but the above functionality is a good start.
*/
import Str from "../../shared/es6/strlib";
import Web from "../../shared/es6/weblib";
import DiskAPI from "../../shared/es6/diskapi";
import DumpAPI from "../../shared/es6/dumpapi";
import Component from "../../shared/es6/component";
import MessagesPDP11 from "./messages";
var Str = require("../../shared/es6/strlib");
var Web = require("../../shared/es6/weblib");
var DiskAPI = require("../../shared/es6/diskapi");
var DumpAPI = require("../../shared/es6/dumpapi");
var Component = require("../../shared/es6/component");
var MessagesPDP11 = require("./messages");
/**
* Every Sector object (once loaded, parsed, and "normalized") should have ALL of the following named properties:
@ -1238,4 +1238,4 @@ class DiskPDP11 extends Component {
*/
DiskPDP11.nDisks = 0;
export default DiskPDP11;
module.exports = DiskPDP11;