cleaned up method
This commit is contained in:
49
src/convert/definitions/power.js
Normal file
49
src/convert/definitions/power.js
Normal file
@@ -0,0 +1,49 @@
|
||||
var power;
|
||||
|
||||
power = {
|
||||
W: {
|
||||
name: {
|
||||
singular: 'Watt'
|
||||
, plural: 'Watts'
|
||||
}
|
||||
, to_anchor: 1
|
||||
}
|
||||
, mW: {
|
||||
name: {
|
||||
singular: 'Milliwatt'
|
||||
, plural: 'Milliwatts'
|
||||
}
|
||||
, to_anchor: .001
|
||||
}
|
||||
, kW: {
|
||||
name: {
|
||||
singular: 'Kilowatt'
|
||||
, plural: 'Kilowatts'
|
||||
}
|
||||
, to_anchor: 1000
|
||||
}
|
||||
, MW: {
|
||||
name: {
|
||||
singular: 'Megawatt'
|
||||
, plural: 'Megawatts'
|
||||
}
|
||||
, to_anchor: 1000000
|
||||
}
|
||||
, GW: {
|
||||
name: {
|
||||
singular: 'Gigawatt'
|
||||
, plural: 'Gigawatts'
|
||||
}
|
||||
, to_anchor: 1000000000
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
metric: power
|
||||
, _anchors: {
|
||||
metric: {
|
||||
unit: 'W'
|
||||
, ratio: 1
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user