summaryrefslogtreecommitdiff
path: root/school/node_modules/cssstyle/lib/properties/left.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/cssstyle/lib/properties/left.js')
-rw-r--r--school/node_modules/cssstyle/lib/properties/left.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/school/node_modules/cssstyle/lib/properties/left.js b/school/node_modules/cssstyle/lib/properties/left.js
new file mode 100644
index 0000000..72bb2fa
--- /dev/null
+++ b/school/node_modules/cssstyle/lib/properties/left.js
@@ -0,0 +1,14 @@
+'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,
+};