text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```javascript 'use strict'; var TYPES = require('../parsers').TYPES; var valueType = require('../parsers').valueType; var partsRegEx = /\s*,\s*/; module.exports.isValid = function isValid(v) { if (v === '' || v === null) { return true; } var parts = v.split(partsRegEx); var len = parts.length; var i; var type; for (i = 0; i < len; i++) { type = valueType(parts[i]); if (type === TYPES.STRING || type === TYPES.KEYWORD) { return true; } } return false; }; module.exports.definition = { set: function (v) { this._setProperty('font-family', v); }, get: function () { return this.getPropertyValue('font-family'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/fontFamily.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
190
```javascript 'use strict'; var parsers = require('../parsers.js'); var TYPES = parsers.TYPES; var isValid = function (v) { var type = parsers.valueType(v); return type === TYPES.LENGTH || type === TYPES.PERCENT || (type === TYPES.INTEGER && (v === '0' || v === 0)); }; var parser = function (v) { return parsers.parseMeasurement(v); }; var mySetter = parsers.implicitSetter('padding', '', isValid, parser); var myGlobal = parsers.implicitSetter('padding', '', function () { return true; }, function (v) { return v; }); module.exports.definition = { set: function (v) { if (typeof v === "number") { v = String(v); } if (typeof v !== "string") { return; } var V = v.toLowerCase(); switch (V) { case 'inherit': case 'initial': case 'unset': case '': myGlobal.call(this, V); break; default: mySetter.call(this, v); break; } }, get: function () { return this.getPropertyValue('padding'); }, enumerable: true, configurable: true }; module.exports.isValid = isValid; module.exports.parser = parser; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/padding.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
276
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('text-shadow', v); }, get: function () { return this.getPropertyValue('text-shadow'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textShadow.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('marker-offset', v); }, get: function () { return this.getPropertyValue('marker-offset'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/markerOffset.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('flood-opacity', v); }, get: function () { return this.getPropertyValue('flood-opacity'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/floodOpacity.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; var parsers = require('../parsers'); var isValid = module.exports.isValid = function isValid(v) { return parsers.valueType(v) === parsers.TYPES.KEYWORD && (v.toLowerCase() === 'scroll' || v.toLowerCase() === 'fixed' || v.toLowerCase() === 'inherit'); }; module.exports.definition = { set: function (v) { if (!isValid(v)) { return; } this._setProperty('background-attachment', v); }, get: function () { return this.getPropertyValue('background-attachment'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/backgroundAttachment.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
130
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('background-position-y', v); }, get: function () { return this.getPropertyValue('background-position-y'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/backgroundPositionY.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-transition', v); }, get: function () { return this.getPropertyValue('-webkit-transition'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTransition.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-box-flex-group', v); }, get: function () { return this.getPropertyValue('-webkit-box-flex-group'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBoxFlexGroup.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('empty-cells', v); }, get: function () { return this.getPropertyValue('empty-cells'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/emptyCells.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-hyphenate-limit-after', v); }, get: function () { return this.getPropertyValue('-webkit-hyphenate-limit-after'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitHyphenateLimitAfter.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
67
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-background-clip', v); }, get: function () { return this.getPropertyValue('-webkit-background-clip'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBackgroundClip.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-wrap-shape-inside', v); }, get: function () { return this.getPropertyValue('-webkit-wrap-shape-inside'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitWrapShapeInside.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
65
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-margin-bottom-collapse', v); }, get: function () { return this.getPropertyValue('-webkit-margin-bottom-collapse'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarginBottomCollapse.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('speak-punctuation', v); }, get: function () { return this.getPropertyValue('speak-punctuation'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/speakPunctuation.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-mask-repeat-x', v); }, get: function () { return this.getPropertyValue('-webkit-mask-repeat-x'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskRepeatX.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('stroke-opacity', v); }, get: function () { return this.getPropertyValue('stroke-opacity'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/strokeOpacity.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; var parsers = require('../parsers'); var valid_keywords = ['top', 'center', 'bottom', 'left', 'right']; var parse = function parse(v) { if (v === '' || v === null) { return undefined; } var parts = v.split(/\s+/); if (parts.length > 2 || parts.length < 1) { return undefined; } var types = []; parts.forEach(function (part, index) { types[index] = parsers.valueType(part); }); if (parts.length === 1) { if (types[0] === parsers.TYPES.LENGTH || types[0] === parsers.TYPES.PERCENT) { return v; } if (types[0] === parsers.TYPES.KEYWORD) { if (valid_keywords.indexOf(v.toLowerCase()) !== -1 || v.toLowerCase() === 'inherit') { return v; } } return undefined; } if ((types[0] === parsers.TYPES.LENGTH || types[0] === parsers.TYPES.PERCENT) && (types[1] === parsers.TYPES.LENGTH || types[1] === parsers.TYPES.PERCENT)) { return v; } if (types[0] !== parsers.TYPES.KEYWORD || types[1] !== parsers.TYPES.KEYWORD) { return undefined; } if (valid_keywords.indexOf(parts[0]) !== -1 && valid_keywords.indexOf(parts[1]) !== -1) { return v; } return undefined; }; module.exports.isValid = function isValid(v) { return parse(v) !== undefined; }; module.exports.definition = { set: function (v) { this._setProperty('background-position', parse(v)); }, get: function () { return this.getPropertyValue('background-position'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/backgroundPosition.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
405
```javascript 'use strict'; var parseColor = require('../parsers').parseColor; module.exports.definition = { set: function (v) { this._setProperty('-webkit-text-emphasis-color', parseColor(v)); }, get: function () { return this.getPropertyValue('-webkit-text-emphasis-color'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
76
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-border-fit', v); }, get: function () { return this.getPropertyValue('-webkit-border-fit'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderFit.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; var parseColor = require('../parsers').parseColor; module.exports.definition = { set: function (v) { this._setProperty('flood-color', parseColor(v)); }, get: function () { return this.getPropertyValue('flood-color'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/floodColor.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
72
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-padding-after', v); }, get: function () { return this.getPropertyValue('-webkit-padding-after'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitPaddingAfter.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-text-combine', v); }, get: function () { return this.getPropertyValue('-webkit-text-combine'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextCombine.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; var isValid = module.exports.isValid = require('./borderWidth').isValid; module.exports.definition = { set: function (v) { if (isValid(v)) { this._setProperty('border-left-width', v); } }, get: function () { return this.getPropertyValue('border-left-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderLeftWidth.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
82
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('unicode-bidi', v); }, get: function () { return this.getPropertyValue('unicode-bidi'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/unicodeBidi.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('baseline-shift', v); }, get: function () { return this.getPropertyValue('baseline-shift'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/baselineShift.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; var TYPES = require('../parsers').TYPES; var valueType = require('../parsers').valueType; var shorthandParser = require('../parsers').shorthandParser; var shorthandSetter = require('../parsers').shorthandSetter; var shorthandGetter = require('../parsers').shorthandGetter; var shorthand_for = { 'font-family': require('./fontFamily'), 'font-size': require('./fontSize'), 'font-style': require('./fontStyle'), 'font-variant': require('./fontVariant'), 'font-weight': require('./fontWeight'), 'line-height': require('./lineHeight') }; var static_fonts = ['caption', 'icon', 'menu', 'message-box', 'small-caption', 'status-bar', 'inherit']; module.exports.isValid = function isValid(v) { return (shorthandParser(v, shorthand_for) !== undefined) || (valueType(v) === TYPES.KEYWORD && static_fonts.indexOf(v.toLowerCase()) !== -1); }; var setter = shorthandSetter('font', shorthand_for); module.exports.definition = { set: function (v) { var short = shorthandParser(v, shorthand_for); if (short !== undefined) { return setter.call(this, v); } if (valueType(v) === TYPES.KEYWORD && static_fonts.indexOf(v.toLowerCase()) !== -1) { this._setProperty('font', v); } }, get: shorthandGetter('font', shorthand_for), enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/font.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
309
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-rtl-ordering', v); }, get: function () { return this.getPropertyValue('-webkit-rtl-ordering'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitRtlOrdering.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
63
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('unicode-range', v); }, get: function () { return this.getPropertyValue('unicode-range'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/unicodeRange.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-hyphenate-limit-before', v); }, get: function () { return this.getPropertyValue('-webkit-hyphenate-limit-before'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitHyphenateLimitBefore.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
67
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('text-overline-style', v); }, get: function () { return this.getPropertyValue('text-overline-style'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textOverlineStyle.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('fill-opacity', v); }, get: function () { return this.getPropertyValue('fill-opacity'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/fillOpacity.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; var isValid = module.exports.isValid = require('./borderColor').isValid; module.exports.definition = { set: function (v) { if (isValid(v)) { this._setProperty('border-left-color', v); } }, get: function () { return this.getPropertyValue('border-left-color'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderLeftColor.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
82
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-column-axis', v); }, get: function () { return this.getPropertyValue('-webkit-column-axis'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumnAxis.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('speak-header', v); }, get: function () { return this.getPropertyValue('speak-header'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/speakHeader.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; var parseColor = require('../parsers').parseColor; module.exports.definition = { set: function (v) { this._setProperty('text-line-through-color', parseColor(v)); }, get: function () { return this.getPropertyValue('text-line-through-color'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textLineThroughColor.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
74
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('cue-before', v); }, get: function () { return this.getPropertyValue('cue-before'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/cueBefore.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-box-orient', v); }, get: function () { return this.getPropertyValue('-webkit-box-orient'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBoxOrient.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-column-gap', v); }, get: function () { return this.getPropertyValue('-webkit-column-gap'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumnGap.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('color-interpolation-filters', v); }, get: function () { return this.getPropertyValue('color-interpolation-filters'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/colorInterpolationFilters.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
63
```javascript 'use strict'; var parseMeasurement = require('../parsers').parseMeasurement; module.exports.definition = { set: function (v) { this._setProperty('bottom', parseMeasurement(v)); }, get: function () { return this.getPropertyValue('bottom'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/bottom.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
68
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('background-position-x', v); }, get: function () { return this.getPropertyValue('background-position-x'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/backgroundPositionX.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('text-rendering', v); }, get: function () { return this.getPropertyValue('text-rendering'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textRendering.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-transition-timing-function', v); }, get: function () { return this.getPropertyValue('-webkit-transition-timing-function'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTransitionTimingFunction.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
63
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-border-end-style', v); }, get: function () { return this.getPropertyValue('-webkit-border-end-style'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderEndStyle.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('content', v); }, get: function () { return this.getPropertyValue('content'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/content.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
55
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-animation-iteration-count', v); }, get: function () { return this.getPropertyValue('-webkit-animation-iteration-count'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitAnimationIterationCount.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
63
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-flex-direction', v); }, get: function () { return this.getPropertyValue('-webkit-flex-direction'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFlexDirection.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('list-style-image', v); }, get: function () { return this.getPropertyValue('list-style-image'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/listStyleImage.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('overflow', v); }, get: function () { return this.getPropertyValue('overflow'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/overflow.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
55
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-highlight', v); }, get: function () { return this.getPropertyValue('-webkit-highlight'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitHighlight.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('table-layout', v); }, get: function () { return this.getPropertyValue('table-layout'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/tableLayout.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-font-variant-ligatures', v); }, get: function () { return this.getPropertyValue('-webkit-font-variant-ligatures'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFontVariantLigatures.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
67
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-box-align', v); }, get: function () { return this.getPropertyValue('-webkit-box-align'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBoxAlign.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-text-size-adjust', v); }, get: function () { return this.getPropertyValue('-webkit-text-size-adjust'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextSizeAdjust.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('color-rendering', v); }, get: function () { return this.getPropertyValue('color-rendering'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/colorRendering.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-column-break-inside', v); }, get: function () { return this.getPropertyValue('-webkit-column-break-inside'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumnBreakInside.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
63
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('quotes', v); }, get: function () { return this.getPropertyValue('quotes'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/quotes.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
55
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-mask', v); }, get: function () { return this.getPropertyValue('-webkit-mask'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMask.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; var parseMeasurement = require('../parsers').parseMeasurement; function parse(v) { if (String(v).toLowerCase() === 'auto') { return 'auto'; } if (String(v).toLowerCase() === 'inherit') { return 'inherit'; } return parseMeasurement(v); } module.exports.definition = { set: function (v) { this._setProperty('width', parse(v)); }, get: function () { return this.getPropertyValue('width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/width.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
119
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-mask-box-image-source', v); }, get: function () { return this.getPropertyValue('-webkit-mask-box-image-source'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskBoxImageSource.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
63
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-mask-repeat', v); }, get: function () { return this.getPropertyValue('-webkit-mask-repeat'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskRepeat.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-margin-after', v); }, get: function () { return this.getPropertyValue('-webkit-margin-after'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarginAfter.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('text-underline', v); }, get: function () { return this.getPropertyValue('text-underline'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textUnderline.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('border-image', v); }, get: function () { return this.getPropertyValue('border-image'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderImage.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-columns', v); }, get: function () { return this.getPropertyValue('-webkit-columns'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumns.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-min-logical-width', v); }, get: function () { return this.getPropertyValue('-webkit-min-logical-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMinLogicalWidth.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
63
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('outline-style', v); }, get: function () { return this.getPropertyValue('outline-style'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/outlineStyle.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('overflow-y', v); }, get: function () { return this.getPropertyValue('overflow-y'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/overflowY.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-margin-before', v); }, get: function () { return this.getPropertyValue('-webkit-margin-before'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarginBefore.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-line-break', v); }, get: function () { return this.getPropertyValue('-webkit-line-break'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitLineBreak.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-region-break-after', v); }, get: function () { return this.getPropertyValue('-webkit-region-break-after'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitRegionBreakAfter.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; var isValid = require('./borderStyle').isValid; module.exports.isValid = isValid; module.exports.definition = { set: function (v) { if (isValid(v)) { if (v.toLowerCase() === 'none') { v = ''; this.removeProperty('border-right-width'); } this._setProperty('border-right-style', v); } }, get: function () { return this.getPropertyValue('border-right-style'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderRightStyle.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
110
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-mask-box-image-repeat', v); }, get: function () { return this.getPropertyValue('-webkit-mask-box-image-repeat'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskBoxImageRepeat.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
63
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('enable-background', v); }, get: function () { return this.getPropertyValue('enable-background'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/enableBackground.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-flow-into', v); }, get: function () { return this.getPropertyValue('-webkit-flow-into'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFlowInto.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-line-grid', v); }, get: function () { return this.getPropertyValue('-webkit-line-grid'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitLineGrid.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; var parseColor = require('../parsers').parseColor; module.exports.definition = { set: function (v) { this._setProperty('lighting-color', parseColor(v)); }, get: function () { return this.getPropertyValue('lighting-color'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/lightingColor.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
72
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-region-overflow', v); }, get: function () { return this.getPropertyValue('-webkit-region-overflow'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitRegionOverflow.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('list-style', v); }, get: function () { return this.getPropertyValue('list-style'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/listStyle.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('border-image-slice', v); }, get: function () { return this.getPropertyValue('border-image-slice'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderImageSlice.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-box-direction', v); }, get: function () { return this.getPropertyValue('-webkit-box-direction'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBoxDirection.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('border-image-outset', v); }, get: function () { return this.getPropertyValue('border-image-outset'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderImageOutset.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('filter', v); }, get: function () { return this.getPropertyValue('filter'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/filter.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
55
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('font-stretch', v); }, get: function () { return this.getPropertyValue('font-stretch'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/fontStretch.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('text-align', v); }, get: function () { return this.getPropertyValue('text-align'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textAlign.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('orphans', v); }, get: function () { return this.getPropertyValue('orphans'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/orphans.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; var padding = require('./padding.js'); var parsers = require('../parsers.js'); module.exports.definition = { set: parsers.subImplicitSetter('padding', 'bottom', padding.isValid, padding.parser), get: function () { return this.getPropertyValue('padding-bottom'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/paddingBottom.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
72
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('marks', v); }, get: function () { return this.getPropertyValue('marks'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/marks.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
55
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-transform-origin-y', v); }, get: function () { return this.getPropertyValue('-webkit-transform-origin-y'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTransformOriginY.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-mask-box-image-slice', v); }, get: function () { return this.getPropertyValue('-webkit-mask-box-image-slice'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskBoxImageSlice.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
65
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-wrap-padding', v); }, get: function () { return this.getPropertyValue('-webkit-wrap-padding'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitWrapPadding.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-background-origin', v); }, get: function () { return this.getPropertyValue('-webkit-background-origin'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBackgroundOrigin.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; var parseColor = require('../parsers').parseColor; module.exports.definition = { set: function (v) { this._setProperty('-webkit-border-after-color', parseColor(v)); }, get: function () { return this.getPropertyValue('-webkit-border-after-color'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
74
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-wrap-margin', v); }, get: function () { return this.getPropertyValue('-webkit-wrap-margin'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitWrapMargin.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-overflow-scrolling', v); }, get: function () { return this.getPropertyValue('-webkit-overflow-scrolling'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitOverflowScrolling.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
63
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-column-rule-style', v); }, get: function () { return this.getPropertyValue('-webkit-column-rule-style'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumnRuleStyle.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-color-correction', v); }, get: function () { return this.getPropertyValue('-webkit-color-correction'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColorCorrection.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('overflow-x', v); }, get: function () { return this.getPropertyValue('overflow-x'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/overflowX.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; var parseColor = require('../parsers').parseColor; module.exports.definition = { set: function (v) { this._setProperty('-webkit-tap-highlight-color', parseColor(v)); }, get: function () { return this.getPropertyValue('-webkit-tap-highlight-color'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
76