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

@ -32,10 +32,10 @@
"use strict";
import Str from "../../shared/es6/strlib";
import Usr from "../../shared/es6/usrlib";
import Component from "../../shared/es6/component";
import MessagesPDP11 from "./messages";
var Str = require("../../shared/es6/strlib");
var Usr = require("../../shared/es6/usrlib");
var Component = require("../../shared/es6/component");
var MessagesPDP11 = require("./messages");
/*
* A word (or more) about PDP-11 speeds:
@ -1245,4 +1245,4 @@ CPUPDP11.YIELDS_PER_STATUS = 15; // every 15 yields (ie, twice pe
CPUPDP11.BUTTONS = ["power", "reset"];
export default CPUPDP11;
module.exports = CPUPDP11;