diff options
Diffstat (limited to 'school/node_modules/cssstyle/lib/properties/fontStyle.js')
-rw-r--r-- | school/node_modules/cssstyle/lib/properties/fontStyle.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/school/node_modules/cssstyle/lib/properties/fontStyle.js b/school/node_modules/cssstyle/lib/properties/fontStyle.js deleted file mode 100644 index 63d5e92..0000000 --- a/school/node_modules/cssstyle/lib/properties/fontStyle.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var valid_styles = ['normal', 'italic', 'oblique', 'inherit']; - -module.exports.isValid = function(v) { - return valid_styles.indexOf(v.toLowerCase()) !== -1; -}; - -module.exports.definition = { - set: function(v) { - this._setProperty('font-style', v); - }, - get: function() { - return this.getPropertyValue('font-style'); - }, - enumerable: true, - configurable: true, -}; |