mirror of
https://github.com/sexybiggetje/pixdisp.git
synced 2024-11-24 02:41:03 +01:00
19 lines
No EOL
260 B
JavaScript
19 lines
No EOL
260 B
JavaScript
'use strict';
|
|
|
|
let { Driver } = require( './driver' );
|
|
|
|
class Dummy extends Driver {
|
|
constructor() {
|
|
super();
|
|
|
|
this.silence = false;
|
|
}
|
|
|
|
write( buffer = false ) {
|
|
if ( this.silence !== true ) {
|
|
console.log( buffer );
|
|
}
|
|
}
|
|
}
|
|
|
|
exports.Dummy = Dummy; |