15 lines
301 B
JavaScript
15 lines
301 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var parseMeasurement = require('../parsers').parseMeasurement;
|
||
|
|
||
|
module.exports.definition = {
|
||
|
set: function(v) {
|
||
|
this._setProperty('right', parseMeasurement(v));
|
||
|
},
|
||
|
get: function() {
|
||
|
return this.getPropertyValue('right');
|
||
|
},
|
||
|
enumerable: true,
|
||
|
configurable: true,
|
||
|
};
|