diff options
Diffstat (limited to 'alarm/node_modules/cssstyle/lib/properties/marginTop.js')
-rw-r--r-- | alarm/node_modules/cssstyle/lib/properties/marginTop.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/alarm/node_modules/cssstyle/lib/properties/marginTop.js b/alarm/node_modules/cssstyle/lib/properties/marginTop.js new file mode 100644 index 0000000..6a57621 --- /dev/null +++ b/alarm/node_modules/cssstyle/lib/properties/marginTop.js @@ -0,0 +1,13 @@ +'use strict'; + +var margin = require('./margin.js'); +var parsers = require('../parsers.js'); + +module.exports.definition = { + set: parsers.subImplicitSetter('margin', 'top', margin.isValid, margin.parser), + get: function() { + return this.getPropertyValue('margin-top'); + }, + enumerable: true, + configurable: true, +}; |