UNPKG
enigma
Version:
latest (1.1.2)
1.1.2
1.1.1
1.1.0
1.0.0
0.0.2
0.0.1
Implementation of an enigma machine
github.com/benelsen/enigma
benelsen/enigma
enigma
/
lib
/
eintrittswalze.js
15 lines
(8 loc)
•
216 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var
Walze
=
require
(
'./walze'
);
module
.
exports
=
Eintrittswalze
;
function
Eintrittswalze
(
wiring, name
) {
this
.
setWiring
(wiring);
this
.
setName
(name);
return
this
; }
Eintrittswalze
.
prototype
=
new
Walze
();