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,9 +32,9 @@
"use strict";
import Component from "../../shared/lib/component";
import PDP11 from "./defines";
import MessagesPDP11 from "./messages";
var Component = require("../../shared/lib/component");
var PDP11 = require("./defines");
var MessagesPDP11 = require("./messages");
/**
* @class DataView
@ -1006,4 +1006,4 @@ var littleEndian = (TYPEDARRAYS? (function() {
return new Uint16Array(buffer)[0] === 256;
})() : false);
export default MemoryPDP11;
module.exports = MemoryPDP11;