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 var convert = require('./convert'), func = convert('intersectionBy', require('../intersectionBy')); func.placeholder = require('./placeholder'); module.exports = func; ```
/content/code_sandbox/node_modules/lodash/fp/intersectionBy.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
33
```javascript var convert = require('./convert'), func = convert('assignWith', require('../assignWith')); func.placeholder = require('./placeholder'); module.exports = func; ```
/content/code_sandbox/node_modules/lodash/fp/assignWith.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
33
```javascript var convert = require('./convert'), func = convert('isNative', require('../isNative'), require('./_falseOptions')); func.placeholder = require('./placeholder'); module.exports = func; ```
/content/code_sandbox/node_modules/lodash/fp/isNative.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
39
```javascript var convert = require('./convert'), func = convert('isElement', require('../isElement'), require('./_falseOptions')); func.placeholder = require('./placeholder'); module.exports = func; ```
/content/code_sandbox/node_modules/lodash/fp/isElement.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
39
```javascript var convert = require('./convert'), func = convert('stubFalse', require('../stubFalse'), require('./_falseOptions')); func.placeholder = require('./placeholder'); module.exports = func; ```
/content/code_sandbox/node_modules/lodash/fp/stubFalse.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
39
```javascript var convert = require('./convert'), func = convert('isObjectLike', require('../isObjectLike'), require('./_falseOptions')); func.placeholder = require('./placeholder'); module.exports = func; ```
/content/code_sandbox/node_modules/lodash/fp/isObjectLike.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
39
```javascript module.exports = require('./invert'); ```
/content/code_sandbox/node_modules/lodash/fp/invertObj.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
8
```javascript var convert = require('./convert'), func = convert('mergeWith', require('../mergeWith')); func.placeholder = require('./placeholder'); module.exports = func; ```
/content/code_sandbox/node_modules/lodash/fp/mergeWith.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
33
```javascript /** * Expose `Emitter`. */ if (typeof module !== 'undefined') { module.exports = Emitter; } /** * Initialize a new `Emitter`. * * @api public */ function Emitter(obj) { if (obj) return mixin(obj); }; /** * Mixin the emitter properties. * * @param {Object} obj * @return {Object} * @api ...
/content/code_sandbox/node_modules/component-emitter/index.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
862
```javascript var types = require("./lib/types"); // This core module of AST types captures ES5 as it is parsed today by // git://github.com/ariya/esprima.git#master. require("./def/core"); // Feel free to add to or remove from this list of extension modules to // configure the precise type hierarchy that you need. r...
/content/code_sandbox/node_modules/ast-types/main.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
256
```javascript /** Used to map aliases to their real names. */ exports.aliasToReal = { // Lodash aliases. 'each': 'forEach', 'eachRight': 'forEachRight', 'entries': 'toPairs', 'entriesIn': 'toPairsIn', 'extend': 'assignIn', 'extendAll': 'assignInAll', 'extendAllWith': 'assignInAllWith', 'extendWith': ...
/content/code_sandbox/node_modules/lodash/fp/_mapping.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
3,433
```javascript var Op = Object.prototype; var hasOwn = Op.hasOwnProperty; var types = require("./types"); var isArray = types.builtInTypes.array; var isNumber = types.builtInTypes.number; var Ap = Array.prototype; var slice = Ap.slice; var map = Ap.map; function Path(value, parentPath, name) { if (!(this instanceof...
/content/code_sandbox/node_modules/ast-types/lib/path.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
2,277
```javascript var types = require("../lib/types"); var Type = types.Type; var builtin = types.builtInTypes; var isNumber = builtin.number; // An example of constructing a new type with arbitrary constraints from // an existing type. exports.geq = function(than) { return new Type(function(value) { return is...
/content/code_sandbox/node_modules/ast-types/lib/shared.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
281
```javascript var types = require("./types"); var Type = types.Type; var namedTypes = types.namedTypes; var Node = namedTypes.Node; var Expression = namedTypes.Expression; var isArray = types.builtInTypes.array; var hasOwn = Object.prototype.hasOwnProperty; var b = types.builders; function Scope(path, parentScope) { ...
/content/code_sandbox/node_modules/ast-types/lib/scope.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
2,137
```javascript var types = require("../main"); var getFieldNames = types.getFieldNames; var getFieldValue = types.getFieldValue; var isArray = types.builtInTypes.array; var isObject = types.builtInTypes.object; var isDate = types.builtInTypes.Date; var isRegExp = types.builtInTypes.RegExp; var hasOwn = Object.prototype....
/content/code_sandbox/node_modules/ast-types/lib/equiv.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
1,056
```javascript var types = require("./types"); var NodePath = require("./node-path"); var Printable = types.namedTypes.Printable; var isArray = types.builtInTypes.array; var isObject = types.builtInTypes.object; var isFunction = types.builtInTypes.function; var hasOwn = Object.prototype.hasOwnProperty; var undefined; f...
/content/code_sandbox/node_modules/ast-types/lib/path-visitor.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
2,545
```javascript var Ap = Array.prototype; var slice = Ap.slice; var map = Ap.map; var each = Ap.forEach; var Op = Object.prototype; var objToStr = Op.toString; var funObjStr = objToStr.call(function(){}); var strObjStr = objToStr.call(""); var hasOwn = Op.hasOwnProperty; // A type is an object with a .check method that ...
/content/code_sandbox/node_modules/ast-types/lib/types.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
5,766
```javascript var types = require("./types"); var n = types.namedTypes; var b = types.builders; var isNumber = types.builtInTypes.number; var isArray = types.builtInTypes.array; var Path = require("./path"); var Scope = require("./scope"); function NodePath(value, parentPath, name) { if (!(this instanceof NodePath...
/content/code_sandbox/node_modules/ast-types/lib/node-path.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
2,690
```javascript require("./core"); var types = require("../lib/types"); var def = types.Type.def; var or = types.Type.or; // Note that none of these types are buildable because the Mozilla Parser // API doesn't specify any builder functions, and nobody uses E4X anymore. def("XMLDefaultDeclaration") .bases("Declarat...
/content/code_sandbox/node_modules/ast-types/def/e4x.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
521
```javascript require("./core"); var types = require("../lib/types"); var def = types.Type.def; var or = types.Type.or; var shared = require("../lib/shared"); var geq = shared.geq; var defaults = shared.defaults; def("Function") // SpiderMonkey allows expression closures: function(x) x+1 .field("body", or(def(...
/content/code_sandbox/node_modules/ast-types/def/mozilla.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
374
```javascript require("./es7"); var types = require("../lib/types"); var defaults = require("../lib/shared").defaults; var def = types.Type.def; var or = types.Type.or; def("Noop") .bases("Node") .build(); def("DoExpression") .bases("Expression") .build("body") .field("body", [def("Statement")]); def("Sup...
/content/code_sandbox/node_modules/ast-types/def/babel.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
656
```javascript require("./es7"); var types = require("../lib/types"); var defaults = require("../lib/shared").defaults; var def = types.Type.def; var or = types.Type.or; def("VariableDeclaration") .field("declarations", [or( def("VariableDeclarator"), def("Identifier") // Esprima deviation. )])...
/content/code_sandbox/node_modules/ast-types/def/esprima.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
597
```javascript require("./es7"); var types = require("../lib/types"); var def = types.Type.def; var or = types.Type.or; var defaults = require("../lib/shared").defaults; def("JSXAttribute") .bases("Node") .build("name", "value") .field("name", or(def("JSXIdentifier"), def("JSXNamespacedName"))) .field(...
/content/code_sandbox/node_modules/ast-types/def/fb-harmony.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
2,434
```javascript require("./es6"); var types = require("../lib/types"); var def = types.Type.def; var or = types.Type.or; var builtin = types.builtInTypes; var defaults = require("../lib/shared").defaults; def("Function") .field("async", Boolean, defaults["false"]); def("SpreadProperty") .bases("Node") .bui...
/content/code_sandbox/node_modules/ast-types/def/es7.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
221
```javascript var types = require("../lib/types"); var Type = types.Type; var def = Type.def; var or = Type.or; var shared = require("../lib/shared"); var defaults = shared.defaults; var geq = shared.geq; // Abstract supertype of all syntactic entities that are allowed to have a // .loc field. def("Printable") .fi...
/content/code_sandbox/node_modules/ast-types/def/core.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
2,737
```javascript module.exports = parse; //following path_to_url#nth-child-pseudo //[ ['-'|'+']? INTEGER? {N} [ S* ['-'|'+'] S* INTEGER ]? var re_nthElement = /^([+\-]?\d*n)?\s*(?:([+\-]?)\s*(\d+))?$/; /* parses a nth-check formula, returns an array of two numbers */ function parse(formula){ formula = formula.trim()....
/content/code_sandbox/node_modules/nth-check/parse.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
282
```javascript var parse = require("./parse.js"), compile = require("./compile.js"); module.exports = function nthCheck(formula){ return compile(parse(formula)); }; module.exports.parse = parse; module.exports.compile = compile; ```
/content/code_sandbox/node_modules/nth-check/index.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
45
```javascript module.exports = compile; var BaseFuncs = require("boolbase"), trueFunc = BaseFuncs.trueFunc, falseFunc = BaseFuncs.falseFunc; /* returns a function that checks if an elements index matches the given rule highly optimized to return the fastest solution */ function compile(parsed){ var a = pa...
/content/code_sandbox/node_modules/nth-check/compile.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
344
```javascript module.exports = { trueFunc: function trueFunc(){ return true; }, falseFunc: function falseFunc(){ return false; } }; ```
/content/code_sandbox/node_modules/boolbase/index.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
32
```javascript require("./core"); var types = require("../lib/types"); var def = types.Type.def; var or = types.Type.or; var defaults = require("../lib/shared").defaults; def("Function") .field("generator", Boolean, defaults["false"]) .field("expression", Boolean, defaults["false"]) .field("defaults", [or(d...
/content/code_sandbox/node_modules/ast-types/def/es6.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
1,889
```javascript #!/usr/bin/env node /* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaime...
/content/code_sandbox/node_modules/esprima/bin/esvalidate.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
1,775
```javascript #!/usr/bin/env node /* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaime...
/content/code_sandbox/node_modules/esprima/bin/esparse.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
1,121
```javascript var crypto = require("crypto"); var BigInteger = require("jsbn").BigInteger; var ECPointFp = require("./lib/ec.js").ECPointFp; var Buffer = require("safer-buffer").Buffer; exports.ECCurves = require("./lib/sec.js"); // zero prepad function unstupid(hex,len) { return (hex.length >= len) ? hex : unstupid(...
/content/code_sandbox/node_modules/ecc-jsbn/index.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
500
```javascript var ecc = require("./index.js"); var key1 = new ecc.ECKey(ecc.ECCurves.secp160r1); var key2 = new ecc.ECKey(ecc.ECCurves.secp160r1); console.log(key1.deriveSharedSecret(key2)); var key3 = new ecc.ECKey(ecc.ECCurves.secp160r1,key1.PrivateKey); var key4 = new ecc.ECKey(ecc.ECCurves.secp160r1,key2.PublicKey,...
/content/code_sandbox/node_modules/ecc-jsbn/test.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
239
```javascript // Basic Javascript Elliptic Curve implementation // Ported loosely from BouncyCastle's Java EC code // Only Fp curves implemented for now // Requires jsbn.js and jsbn2.js var BigInteger = require('jsbn').BigInteger var Barrett = BigInteger.prototype.Barrett // ---------------- // ECFieldElementFp // c...
/content/code_sandbox/node_modules/ecc-jsbn/lib/ec.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
4,448
```javascript // Named EC curves // Requires ec.js, jsbn.js, and jsbn2.js var BigInteger = require('jsbn').BigInteger var ECCurveFp = require('./ec.js').ECCurveFp // ---------------- // X9ECParameters // constructor function X9ECParameters(curve,g,n,h) { this.curve = curve; this.g = g; this.n = n; t...
/content/code_sandbox/node_modules/ecc-jsbn/lib/sec.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
2,151
```javascript /** * For Node.js, simply re-export the core `util.deprecate` function. */ module.exports = require('util').deprecate; ```
/content/code_sandbox/node_modules/util-deprecate/node.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
33
```javascript /** * Module exports. */ module.exports = deprecate; /** * Mark that a method should not be used. * Returns a modified function which warns once by default. * * If `localStorage.noDeprecation = true` is set, then it is a no-op. * * If `localStorage.throwDeprecation = true` is set, then deprecat...
/content/code_sandbox/node_modules/util-deprecate/browser.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
403
```javascript /* * verror.js: richer JavaScript errors */ var mod_assertplus = require('assert-plus'); var mod_util = require('util'); var mod_extsprintf = require('extsprintf'); var mod_isError = require('core-util-is').isError; var sprintf = mod_extsprintf.sprintf; /* * Public interface */ /* So you can 'var ...
/content/code_sandbox/node_modules/verror/lib/verror.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
3,014
```javascript 'use strict' const MiniPass = require('minipass') const EE = require('events').EventEmitter const fs = require('fs') // for writev const binding = process.binding('fs') const writeBuffers = binding.writeBuffers /* istanbul ignore next */ const FSReqWrap = binding.FSReqWrap || binding.FSReqCallback const...
/content/code_sandbox/node_modules/fs-minipass/index.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
2,654
```javascript 'use strict'; var parseUrl = require('url').parse; var DEFAULT_PORTS = { ftp: 21, gopher: 70, http: 80, https: 443, ws: 80, wss: 443, }; var stringEndsWith = String.prototype.endsWith || function(s) { return s.length <= this.length && this.indexOf(s, this.length - s.length) !== -1; };...
/content/code_sandbox/node_modules/proxy-from-env/index.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
869
```javascript /* eslint max-statements:0 */ 'use strict'; var assert = require('assert'); var parseUrl = require('url').parse; var getProxyForUrl = require('./').getProxyForUrl; // Runs the callback with process.env temporarily set to env. function runWithEnv(env, callback) { var originalEnv = process.env; proce...
/content/code_sandbox/node_modules/proxy-from-env/test.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
4,462
```javascript var aws4 = exports, url = require('url'), querystring = require('querystring'), crypto = require('crypto'), lru = require('./lru'), credentialsCache = lru(1000) // path_to_url function hmac(key, string, encoding) { return crypto.createHmac('sha256', key).update(string, 'utf8').dige...
/content/code_sandbox/node_modules/aws4/aws4.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
3,084
```javascript module.exports = function(size) { return new LruCache(size) } function LruCache(size) { this.capacity = size | 0 this.map = Object.create(null) this.list = new DoublyLinkedList() } LruCache.prototype.get = function(key) { var node = this.map[key] if (node == null) return undefined this.use...
/content/code_sandbox/node_modules/aws4/lru.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
528
```javascript try { var util = require('util'); /* istanbul ignore next */ if (typeof util.inherits !== 'function') throw ''; module.exports = util.inherits; } catch (e) { /* istanbul ignore next */ module.exports = require('./inherits_browser.js'); } ```
/content/code_sandbox/node_modules/inherits/inherits.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
65
```javascript if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { if (superCtor) { ctor.super_ = superCtor ctor.prototype = Object.create(superCtor.prototype, { constructor: { value: ...
/content/code_sandbox/node_modules/inherits/inherits_browser.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
182
```javascript "use strict"; module.exports = parse; var re_name = /^(?:\\.|[\w\-\u00b0-\uFFFF])+/, re_escape = /\\([\da-f]{1,6}\s?|(\s)|.)/ig, //modified version of path_to_url#L87 re_attr = /^\s*((?:\\.|[\w\u00b0-\uFFFF\-])+)\s*(?:(\S?)=\s*(?:(['"])([^]*?)\3|(#?(?:\\.|[\w\u00b0-\uFFFF\-])*)|)|)\s*(i)?\]/...
/content/code_sandbox/node_modules/css-what/index.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
1,779
```javascript var crypto = require('crypto') function sha (key, body, algorithm) { return crypto.createHmac(algorithm, key).update(body).digest('base64') } function rsa (key, body) { return crypto.createSign('RSA-SHA1').update(body).sign(key, 'base64') } function rfc3986 (str) { return encodeURIComponent(str) ...
/content/code_sandbox/node_modules/oauth-sign/index.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
1,105
```javascript var hasOwn = Object.prototype.hasOwnProperty; var toString = Object.prototype.toString; module.exports = function forEach (obj, fn, ctx) { if (toString.call(fn) !== '[object Function]') { throw new TypeError('iterator must be a function'); } var l = obj.length; if (l === +l) { ...
/content/code_sandbox/node_modules/foreach/index.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
146
```javascript var test = require('tape'); var forEach = require('./index.js'); test('second argument: iterator', function (t) { var arr = []; t.throws(function () { forEach(arr); }, TypeError, 'undefined is not a function'); t.throws(function () { forEach(arr, null); }, TypeError, 'null is not a function'...
/content/code_sandbox/node_modules/foreach/test.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
1,176
```javascript "use strict"; /** * Returns a `Buffer` instance from the given data URI `uri`. * * @param {String} uri Data URI to turn into a Buffer instance * @return {Buffer} Buffer instance from Data URI * @api public */ function dataUriToBuffer(uri) { if (!/^data:/i.test(uri)) { throw new TypeError...
/content/code_sandbox/node_modules/data-uri-to-buffer/dist/src/index.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
484
```javascript "use strict"; var util = require('util'); var cssstyle = require('../lib/CSSStyleDeclaration'); var camelToDashed = require('../lib/parsers').camelToDashed; /** * These are the required properties * see path_to_url#CSS-CSS2Properties **/ var properties = [ 'azimuth', 'background', 'backgroundAttach...
/content/code_sandbox/node_modules/cssstyle/tests/tests.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
6,042
```javascript /********************************************************************* * This is a fork from the CSS Style Declaration part of * path_to_url ********************************************************************/ "use strict"; var CSSOM = require('cssom'); var fs = require('fs'); var path = require('path...
/content/code_sandbox/node_modules/cssstyle/lib/CSSStyleDeclaration.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
1,462
```javascript (function webpackUniversalModuleDefinition(root, factory) { /* istanbul ignore next */ if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); /* istanbul ignore next */ else if(typeof exports...
/content/code_sandbox/node_modules/esprima/dist/esprima.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
62,155
```javascript /********************************************************************* * These are commonly used parsers for CSS Values they take a string * * to parse and return a string after it's been converted, if needed * ********************************************************************/ 'use strict'; exports...
/content/code_sandbox/node_modules/cssstyle/lib/parsers.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
5,029
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-border-before-style', v); }, get: function () { return this.getPropertyValue('-webkit-border-before-style'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderBeforeStyle.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-increment', v); }, get: function () { return this.getPropertyValue('-webkit-marquee-increment'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarqueeIncrement.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-miterlimit', v); }, get: function () { return this.getPropertyValue('stroke-miterlimit'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/strokeMiterlimit.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('font-size-adjust', v); }, get: function () { return this.getPropertyValue('font-size-adjust'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/fontSizeAdjust.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-position-y', v); }, get: function () { return this.getPropertyValue('-webkit-mask-position-y'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskPositionY.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-logical-width', v); }, get: function () { return this.getPropertyValue('-webkit-logical-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitLogicalWidth.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('outline', v); }, get: function () { return this.getPropertyValue('outline'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/outline.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-hyphenate-limit-lines', v); }, get: function () { return this.getPropertyValue('-webkit-hyphenate-limit-lines'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitHyphenateLimitLines.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('letter-spacing', v); }, get: function () { return this.getPropertyValue('letter-spacing'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/letterSpacing.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-top-left-radius', v); }, get: function () { return this.getPropertyValue('border-top-left-radius'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderTopLeftRadius.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('min-height', v); }, get: function () { return this.getPropertyValue('min-height'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/minHeight.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('stress', v); }, get: function () { return this.getPropertyValue('stress'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/stress.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-column-rule-width', v); }, get: function () { return this.getPropertyValue('-webkit-column-rule-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitColumnRuleWidth.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('text-indent', v); }, get: function () { return this.getPropertyValue('text-indent'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textIndent.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('stroke-width', v); }, get: function () { return this.getPropertyValue('stroke-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/strokeWidth.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57
```javascript 'use strict'; var isValid = require('./borderWidth').isValid; module.exports.isValid = isValid; module.exports.definition = { set: function (v) { if (isValid(v)) { this._setProperty('border-top-width', v); } }, get: function () { return this.getPropertyVal...
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderTopWidth.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
84
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('background-origin', v); }, get: function () { return this.getPropertyValue('background-origin'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/backgroundOrigin.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('color', parseColor(v)); }, get: function () { return this.getPropertyValue('color'); }, enumerable: true, configurable: true }; `...
/content/code_sandbox/node_modules/cssstyle/lib/properties/color.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-decorations-in-effect', v); }, get: function () { return this.getPropertyValue('-webkit-text-decorations-in-effect'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextDecorationsInEffect.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('float', v); }, get: function () { return this.getPropertyValue('float'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/cssFloat.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('background-repeat-x', v); }, get: function () { return this.getPropertyValue('background-repeat-x'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/backgroundRepeatX.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-print-color-adjust', v); }, get: function () { return this.getPropertyValue('-webkit-print-color-adjust'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitPrintColorAdjust.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-type', v); }, get: function () { return this.getPropertyValue('list-style-type'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/listStyleType.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('marker-end', v); }, get: function () { return this.getPropertyValue('marker-end'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/markerEnd.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-right-width', v); } }, get: function () { return this.getPropertyValue('bor...
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderRightWidth.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-transition-property', v); }, get: function () { return this.getPropertyValue('-webkit-transition-property'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTransitionProperty.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('outline-offset', v); }, get: function () { return this.getPropertyValue('outline-offset'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/outlineOffset.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-animation-timing-function', v); }, get: function () { return this.getPropertyValue('-webkit-animation-timing-function'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitAnimationTimingFunction.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-radius', v); }, get: function () { return this.getPropertyValue('-webkit-border-radius'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitBorderRadius.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-style', v); }, get: function () { return this.getPropertyValue('text-underline-style'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textUnderlineStyle.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-max-logical-width', v); }, get: function () { return this.getPropertyValue('-webkit-max-logical-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaxLogicalWidth.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
63
```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-bottom-width')...
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderBottomStyle.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
110
```javascript 'use strict'; var isValid = module.exports.isValid = require('./borderColor').isValid; module.exports.definition = { set: function (v) { if (isValid(v)) { this._setProperty('border-bottom-color', v); } }, get: function () { return this.getPropertyValue('bo...
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderBottomColor.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-margin-collapse', v); }, get: function () { return this.getPropertyValue('-webkit-margin-collapse'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarginCollapse.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('background-clip', v); }, get: function () { return this.getPropertyValue('background-clip'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/backgroundClip.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('pointer-events', v); }, get: function () { return this.getPropertyValue('pointer-events'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/pointerEvents.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('visibility', v); }, get: function () { return this.getPropertyValue('visibility'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/visibility.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-margin-end', v); }, get: function () { return this.getPropertyValue('-webkit-margin-end'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMarginEnd.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
59
```javascript 'use strict'; var margin = require('./margin.js'); var parsers = require('../parsers.js'); module.exports.definition = { set: parsers.subImplicitSetter('margin', 'left', margin.isValid, margin.parser), get: function () { return this.getPropertyValue('margin-left'); }, enumerable:...
/content/code_sandbox/node_modules/cssstyle/lib/properties/marginLeft.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('text-overline-width', v); }, get: function () { return this.getPropertyValue('text-overline-width'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textOverlineWidth.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-size', v); }, get: function () { return this.getPropertyValue('-webkit-mask-size'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitMaskSize.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', v); }, get: function () { return this.getPropertyValue('color-interpolation'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/colorInterpolation.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-text-fill-color', parseColor(v)); }, get: function () { return this.getPropertyValue('-webkit-text-fill-color'); }, enumerable...
/content/code_sandbox/node_modules/cssstyle/lib/properties/webkitTextFillColor.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'); // <length> <length>? | inherit // if one, it applies to both horizontal and verical spacing // if two, the first applies to the horizontal and the second applies to vertical spacing var parse = function parse(v) { if (v === '' || v === null) { ...
/content/code_sandbox/node_modules/cssstyle/lib/properties/borderSpacing.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
236
```javascript 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('text-anchor', v); }, get: function () { return this.getPropertyValue('text-anchor'); }, enumerable: true, configurable: true }; ```
/content/code_sandbox/node_modules/cssstyle/lib/properties/textAnchor.js
javascript
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
57