20 lines
372 B
JavaScript
20 lines
372 B
JavaScript
'use strict'
|
|
/**
|
|
* Stub pear-ref for Bare standalone builds (pear-ref throws without Pear).
|
|
* Seeder/booter host binaries use Hyperdrive/Corestore directly, not Pear appdrive.
|
|
*/
|
|
class Ref {
|
|
constructor() {
|
|
this._value = null
|
|
}
|
|
get value() {
|
|
return this._value
|
|
}
|
|
set value(v) {
|
|
this._value = v
|
|
}
|
|
}
|
|
|
|
module.exports = Ref
|
|
module.exports.Ref = Ref
|