mirror of https://github.com/jkjoy/sunpeiwen.git
15 lines
299 B
JavaScript
15 lines
299 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var parseMeasurement = require('../parsers').parseMeasurement;
|
||
|
|
||
|
module.exports.definition = {
|
||
|
set: function(v) {
|
||
|
this._setProperty('left', parseMeasurement(v));
|
||
|
},
|
||
|
get: function() {
|
||
|
return this.getPropertyValue('left');
|
||
|
},
|
||
|
enumerable: true,
|
||
|
configurable: true,
|
||
|
};
|