color.js 283 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 'use strict'; var parseColor = require('../parsers').parseColor; module.exports.definition = { set: function(v) { this._setProperty('color', parseColor(v)); }, get: function() { return this.getPropertyValue('color'); }, enumerable: true, configurable: true, };