Let's switch from import back to require, to simplify future Node support
This commit is contained in:
parent
28f47a3424
commit
5e2073f3ac
37 changed files with 179 additions and 166 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue