- Fix missing return in childRegistrationUtils.registerChild() - Fix assertionUtils: assertNoNaN uses this.assertNoNaN - Fix logger: nameModule uses this.nameModule - Fix assetUtils: convert ESM to CommonJS - Fix childRegistrationUtils_DEPRECATED: desc -> softwareType - Add gravity export to index.js for rotatingMachine - Fix ESLint errors across 18 files (no-undef, no-case-declarations, no-mixed-spaces-and-tabs, parsing errors) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
38 lines
469 B
JavaScript
38 lines
469 B
JavaScript
var metric,
|
|
imperial;
|
|
|
|
metric = {
|
|
'lx': {
|
|
name: {
|
|
singular: 'Lux',
|
|
plural: 'Lux'
|
|
},
|
|
to_anchor: 1
|
|
}
|
|
};
|
|
|
|
imperial = {
|
|
'ft-cd': {
|
|
name: {
|
|
singular: 'Foot-candle',
|
|
plural: 'Foot-candles'
|
|
},
|
|
to_anchor: 1
|
|
}
|
|
};
|
|
|
|
module.exports = {
|
|
metric: metric,
|
|
imperial: imperial,
|
|
_anchors: {
|
|
metric: {
|
|
unit: 'lx',
|
|
ratio: 1/10.76391
|
|
},
|
|
imperial: {
|
|
unit: 'ft-cd',
|
|
ratio: 10.76391
|
|
}
|
|
}
|
|
};
|