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'; module.exports.definition = { set: function (v) { this._setProperty('stroke-dashoffset', v); }, get: function () { return this.getPropertyValue('stroke-dashoffset'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/strokeDashoffset.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-animation-duration', v); }, get: function () { return this.getPropertyValue('-webkit-animation-duration'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitAnimationDuration.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-start', v); }, get: function () { return this.getPropertyValue('-webkit-margin-start'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarginStart.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-padding-end', v); }, get: function () { return this.getPropertyValue('-webkit-padding-end'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitPaddingEnd.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-marquee-repetition', v); }, get: function () { return this.getPropertyValue('-webkit-marquee-repetition'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarqueeRepetition.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-flow', v); }, get: function () { return this.getPropertyValue('-webkit-flex-flow'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFlexFlow.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```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('height', parse(v)); }, get: function () { return this.getPropertyValue('height'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/height.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-box-flex', v); }, get: function () { return this.getPropertyValue('-webkit-box-flex'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBoxFlex.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-repeat', v); }, get: function () { return this.getPropertyValue('border-image-repeat'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderImageRepeat.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-before', v); }, get: function () { return this.getPropertyValue('-webkit-column-break-before'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumnBreakBefore.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript '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 }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/marginTop.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
72
```javascript 'use strict'; var parseMeasurement = require('../parsers').parseMeasurement; module.exports.definition = { set: function (v) { this._setProperty('left', parseMeasurement(v)); }, get: function () { return this.getPropertyValue('left'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/left.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('-webkit-text-stroke-width', v); }, get: function () { return this.getPropertyValue('-webkit-text-stroke-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextStrokeWidth.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-transition-duration', v); }, get: function () { return this.getPropertyValue('-webkit-transition-duration'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTransitionDuration.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-security', v); }, get: function () { return this.getPropertyValue('-webkit-text-security'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextSecurity.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-align', v); }, get: function () { return this.getPropertyValue('-webkit-line-align'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitLineAlign.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-line-through-width', v); }, get: function () { return this.getPropertyValue('text-line-through-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textLineThroughWidth.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; var shorthandParser = require('../parsers').shorthandParser; var shorthandSetter = require('../parsers').shorthandSetter; var shorthandGetter = require('../parsers').shorthandGetter; var shorthand_for = { 'background-color': require('./backgroundColor'), 'background-image': require('./backgroundImage'), 'background-repeat': require('./backgroundRepeat'), 'background-attachment': require('./backgroundAttachment'), 'background-position': require('./backgroundPosition') }; module.exports.isValid = function isValid(v) { return shorthandParser(v, shorthand_for) !== undefined; }; module.exports.definition = { set: shorthandSetter('background', shorthand_for), get: shorthandGetter('background', shorthand_for), enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/background.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
156
```javascript 'use strict'; var valid_weights = ['normal', 'bold', 'bolder', 'lighter', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'inherit']; module.exports.isValid = function isValid(v) { return valid_weights.indexOf(v.toLowerCase()) !== -1; }; module.exports.definition = { set: function (v) { this._setProperty('font-weight', v); }, get: function () { return this.getPropertyValue('font-weight'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/fontWeight.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
127
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('shape-rendering', v); }, get: function () { return this.getPropertyValue('shape-rendering'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/shapeRendering.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('pause', v); }, get: function () { return this.getPropertyValue('pause'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/pause.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-aspect-ratio', v); }, get: function () { return this.getPropertyValue('-webkit-aspect-ratio'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitAspectRatio.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('stroke', v); }, get: function () { return this.getPropertyValue('stroke'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/stroke.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-wrap', v); }, get: function () { return this.getPropertyValue('-webkit-wrap'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitWrap.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('page-break-after', v); }, get: function () { return this.getPropertyValue('page-break-after'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/pageBreakAfter.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-marquee-direction', v); }, get: function () { return this.getPropertyValue('-webkit-marquee-direction'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarqueeDirection.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-lines', v); }, get: function () { return this.getPropertyValue('-webkit-box-lines'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBoxLines.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('pitch', v); }, get: function () { return this.getPropertyValue('pitch'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/pitch.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-attachment', v); }, get: function () { return this.getPropertyValue('-webkit-mask-attachment'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskAttachment.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('vector-effect', v); }, get: function () { return this.getPropertyValue('vector-effect'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/vectorEffect.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('stop-opacity', v); }, get: function () { return this.getPropertyValue('stop-opacity'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/stopOpacity.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-feature-settings', v); }, get: function () { return this.getPropertyValue('-webkit-font-feature-settings'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFontFeatureSettings.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-user-modify', v); }, get: function () { return this.getPropertyValue('-webkit-user-modify'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitUserModify.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-image', v); }, get: function () { return this.getPropertyValue('-webkit-mask-image'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskImage.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-delay', v); }, get: function () { return this.getPropertyValue('-webkit-transition-delay'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTransitionDelay.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('vertical-align', v); }, get: function () { return this.getPropertyValue('vertical-align'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/verticalAlign.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-from', v); }, get: function () { return this.getPropertyValue('-webkit-flow-from'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFlowFrom.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('stop-color', parseColor(v)); }, get: function () { return this.getPropertyValue('stop-color'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/stopColor.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
70
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('max-width', v); }, get: function () { return this.getPropertyValue('max-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/maxWidth.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('text-transform', v); }, get: function () { return this.getPropertyValue('text-transform'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textTransform.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-region-break-before', v); }, get: function () { return this.getPropertyValue('-webkit-region-break-before'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitRegionBreakBefore.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('speech-rate', v); }, get: function () { return this.getPropertyValue('speech-rate'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/speechRate.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-border-after', v); }, get: function () { return this.getPropertyValue('-webkit-border-after'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderAfter.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-user-select', v); }, get: function () { return this.getPropertyValue('-webkit-user-select'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitUserSelect.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-mode', v); }, get: function () { return this.getPropertyValue('text-underline-mode'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textUnderlineMode.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-linecap', v); }, get: function () { return this.getPropertyValue('stroke-linecap'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/strokeLinecap.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-flex-line-pack', v); }, get: function () { return this.getPropertyValue('-webkit-flex-line-pack'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFlexLinePack.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-count', v); }, get: function () { return this.getPropertyValue('-webkit-column-count'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumnCount.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-border-after-style', v); }, get: function () { return this.getPropertyValue('-webkit-border-after-style'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderAfterStyle.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-flex-order', v); }, get: function () { return this.getPropertyValue('-webkit-flex-order'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFlexOrder.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; var shorthandParser = require('../parsers').shorthandParser; var shorthandSetter = require('../parsers').shorthandSetter; var shorthandGetter = require('../parsers').shorthandGetter; var shorthand_for = { 'border-width': require('./borderWidth'), 'border-style': require('./borderStyle'), 'border-color': require('./borderColor') }; var isValid = function isValid(v) { return shorthandParser(v, shorthand_for) !== undefined; }; module.exports.isValid = isValid; var parser = function (v) { if (v.toString().toLowerCase() === 'none') { v = ''; } if (isValid(v)) { return v; } return undefined; }; var myShorthandSetter = shorthandSetter('border', shorthand_for); var myShorthandGetter = shorthandGetter('border', shorthand_for); module.exports.definition = { set: function (v) { if (v.toString().toLowerCase() === 'none') { v = ''; } myShorthandSetter.call(this, v); this.removeProperty('border-top'); this.removeProperty('border-left'); this.removeProperty('border-right'); this.removeProperty('border-bottom'); this._values['border-top'] = this._values.border; this._values['border-left'] = this._values.border; this._values['border-right'] = this._values.border; this._values['border-bottom'] = this._values.border; }, get: myShorthandGetter, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/border.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
327
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-transform-origin-x', v); }, get: function () { return this.getPropertyValue('-webkit-transform-origin-x'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTransformOriginX.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61
```javascript 'use strict'; var implicitSetter = require('../parsers').implicitSetter; // the valid border-styles: var styles = ['none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset']; module.exports.isValid = function parse(v) { return typeof v === 'string' && (v === '' || styles.indexOf(v) !== -1); }; var isValid = module.exports.isValid; var parser = function (v) { if (isValid(v)) { return v.toLowerCase(); } return undefined; }; module.exports.definition = { set: implicitSetter('border', 'style', isValid, parser), get: function () { return this.getPropertyValue('border-style'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderStyle.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
174
```javascript 'use strict'; var parseKeyword = require('../parsers').parseKeyword; var clear_keywords = [ 'none', 'left', 'right', 'both', 'inherit' ]; module.exports.definition = { set: function (v) { this._setProperty('clear', parseKeyword(v, clear_keywords)); }, get: function () { return this.getPropertyValue('clear'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/clear.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
92
```javascript 'use strict'; var parsers = require('../parsers'); var parse = function parse(v) { if (parsers.valueType(v) === parsers.TYPES.KEYWORD && (v.toLowerCase() === 'collapse' || v.toLowerCase() === 'separate' || v.toLowerCase() === 'inherit')) { return v; } return undefined; }; module.exports.isValid = function isValid(v) { return parse(v) !== undefined; }; module.exports.definition = { set: function (v) { this._setProperty('border-collapse', parse(v)); }, get: function () { return this.getPropertyValue('border-collapse'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderCollapse.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
143
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-mask-composite', v); }, get: function () { return this.getPropertyValue('-webkit-mask-composite'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskComposite.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('./borderColor').isValid; module.exports.definition = { set: function (v) { if (isValid(v)) { this._setProperty('border-right-color', v); } }, get: function () { return this.getPropertyValue('border-right-color'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderRightColor.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-break-after', v); }, get: function () { return this.getPropertyValue('-webkit-column-break-after'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumnBreakAfter.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('image-rendering', v); }, get: function () { return this.getPropertyValue('image-rendering'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/imageRendering.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-mask-box-image', v); }, get: function () { return this.getPropertyValue('-webkit-mask-box-image'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskBoxImage.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('page-break-inside', v); }, get: function () { return this.getPropertyValue('page-break-inside'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/pageBreakInside.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('cue-after', v); }, get: function () { return this.getPropertyValue('cue-after'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/cueAfter.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('caption-side', v); }, get: function () { return this.getPropertyValue('caption-side'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/captionSide.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-text-stroke', v); }, get: function () { return this.getPropertyValue('-webkit-text-stroke'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextStroke.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-transform', v); }, get: function () { return this.getPropertyValue('-webkit-transform'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTransform.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('color-profile', v); }, get: function () { return this.getPropertyValue('color-profile'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/colorProfile.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('./borderWidth').isValid; module.exports.definition = { set: function (v) { if (isValid(v)) { this._setProperty('border-bottom-width', v); } }, get: function () { return this.getPropertyValue('border-bottom-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderBottomWidth.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('marker-start', v); }, get: function () { return this.getPropertyValue('marker-start'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/markerStart.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-pack', v); }, get: function () { return this.getPropertyValue('-webkit-box-pack'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBoxPack.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-transform-style', v); }, get: function () { return this.getPropertyValue('-webkit-transform-style'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTransformStyle.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-border-after-width', v); }, get: function () { return this.getPropertyValue('-webkit-border-after-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderAfterWidth.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-flex-wrap', v); }, get: function () { return this.getPropertyValue('-webkit-flex-wrap'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFlexWrap.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-logical-height', v); }, get: function () { return this.getPropertyValue('-webkit-logical-height'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitLogicalHeight.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('position', v); }, get: function () { return this.getPropertyValue('position'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/position.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-text-orientation', v); }, get: function () { return this.getPropertyValue('-webkit-text-orientation'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextOrientation.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-border-start-width', v); }, get: function () { return this.getPropertyValue('-webkit-border-start-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderStartWidth.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('voic-family', v); }, get: function () { return this.getPropertyValue('voice-family'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/voiceFamily.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
58
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-background-size', v); }, get: function () { return this.getPropertyValue('-webkit-background-size'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBackgroundSize.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-emphasis-position', v); }, get: function () { return this.getPropertyValue('-webkit-text-emphasis-position'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextEmphasisPosition.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-box-ordinal-group', v); }, get: function () { return this.getPropertyValue('-webkit-box-ordinal-group'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBoxOrdinalGroup.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-filter', v); }, get: function () { return this.getPropertyValue('-webkit-filter'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFilter.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-border-end-width', v); }, get: function () { return this.getPropertyValue('-webkit-border-end-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderEndWidth.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('word-break', v); }, get: function () { return this.getPropertyValue('word-break'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/wordBreak.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; module.exports.definition = { set: function (v) { this._setProperty('top', parseMeasurement(v)); }, get: function () { return this.getPropertyValue('top'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/top.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('-webkit-mask-box-image-outset', v); }, get: function () { return this.getPropertyValue('-webkit-mask-box-image-outset'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskBoxImageOutset.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('max-height', v); }, get: function () { return this.getPropertyValue('max-height'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/maxHeight.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-border-start-color', parseColor(v)); }, get: function () { return this.getPropertyValue('-webkit-border-start-color'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderStartColor.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
74
```javascript 'use strict'; var parsers = require('../parsers.js'); var TYPES = parsers.TYPES; var isValid = function (v) { if (v.toLowerCase() === "auto") { return true; } var type = parsers.valueType(v); return type === TYPES.LENGTH || type === TYPES.PERCENT || (type === TYPES.INTEGER && (v === '0' || v === 0)); }; var parser = function (v) { var V = v.toLowerCase(); if (V === "auto") { return V; } return parsers.parseMeasurement(v); }; var mySetter = parsers.implicitSetter('margin', '', isValid, parser); var myGlobal = parsers.implicitSetter('margin', '', 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('margin'); }, enumerable: true, configurable: true }; module.exports.isValid = isValid; module.exports.parser = parser; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/margin.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
315
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-animation-direction', v); }, get: function () { return this.getPropertyValue('-webkit-animation-direction'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitAnimationDirection.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('src', v); }, get: function () { return this.getPropertyValue('src'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/src.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('word-wrap', v); }, get: function () { return this.getPropertyValue('word-wrap'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/wordWrap.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-mask-position', v); }, get: function () { return this.getPropertyValue('-webkit-mask-position'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskPosition.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-border-horizontal-spacing', v); }, get: function () { return this.getPropertyValue('-webkit-border-horizontal-spacing'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderHorizontalSpacing.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-font-smoothing', v); }, get: function () { return this.getPropertyValue('-webkit-font-smoothing'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitFontSmoothing.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-marquee-speed', v); }, get: function () { return this.getPropertyValue('-webkit-marquee-speed'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarqueeSpeed.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-transform-origin', v); }, get: function () { return this.getPropertyValue('-webkit-transform-origin'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTransformOrigin.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-padding-start', v); }, get: function () { return this.getPropertyValue('-webkit-padding-start'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitPaddingStart.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-svg-shadow', v); }, get: function () { return this.getPropertyValue('-webkit-svg-shadow'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitSvgShadow.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('play-during', v); }, get: function () { return this.getPropertyValue('play-during'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/playDuring.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('stroke-dasharray', v); }, get: function () { return this.getPropertyValue('stroke-dasharray'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/strokeDasharray.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
61