Plato on Github
Report Home
node_modules/cssstyle/lib/properties/opacity.js
Maintainability
93.42
Lines of code
14
Difficulty
5.78
Estimated Errors
0.07
Function weight
By Complexity
By SLOC
'use strict'; var parseNumber = require('../parsers').parseNumber; module.exports.definition = { set: function (v) { this._setProperty('opacity', parseNumber(v)); }, get: function () { return this.getPropertyValue('opacity'); }, enumerable: true, configurable: true };