code
stringlengths
24
2.07M
docstring
stringlengths
25
85.3k
func_name
stringlengths
1
92
language
stringclasses
1 value
repo
stringlengths
5
64
path
stringlengths
4
172
url
stringlengths
44
218
license
stringclasses
7 values
function cmyk2hsl(args) { return rgb2hsl(cmyk2rgb(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
cmyk2hsl
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function cmyk2hsv(args) { return rgb2hsv(cmyk2rgb(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
cmyk2hsv
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function cmyk2hwb(args) { return rgb2hwb(cmyk2rgb(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
cmyk2hwb
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function cmyk2keyword(args) { return rgb2keyword(cmyk2rgb(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
cmyk2keyword
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function xyz2rgb(xyz) { var x = xyz[0] / 100, y = xyz[1] / 100, z = xyz[2] / 100, r, g, b; r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986); g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415); b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570); // assume sRGB r = r > 0.0031308 ? ((1.055 * Math...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
xyz2rgb
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function xyz2lab(xyz) { var x = xyz[0], y = xyz[1], z = xyz[2], l, a, b; x /= 95.047; y /= 100; z /= 108.883; x = x > 0.008856 ? Math.pow(x, 1/3) : (7.787 * x) + (16 / 116); y = y > 0.008856 ? Math.pow(y, 1/3) : (7.787 * y) + (16 / 116); z = z > 0.008856 ? Math.pow(z, 1/3) : (7.787 * z...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
xyz2lab
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function xyz2lch(args) { return lab2lch(xyz2lab(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
xyz2lch
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function lab2xyz(lab) { var l = lab[0], a = lab[1], b = lab[2], x, y, z, y2; if (l <= 8) { y = (l * 100) / 903.3; y2 = (7.787 * (y / 100)) + (16 / 116); } else { y = 100 * Math.pow((l + 16) / 116, 3); y2 = Math.pow(y / 100, 1/3); } x = x / 95.047 <= 0.008856 ? x = (95.047 *...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
lab2xyz
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function lab2lch(lab) { var l = lab[0], a = lab[1], b = lab[2], hr, h, c; hr = Math.atan2(b, a); h = hr * 360 / 2 / Math.PI; if (h < 0) { h += 360; } c = Math.sqrt(a * a + b * b); return [l, c, h]; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
lab2lch
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function lab2rgb(args) { return xyz2rgb(lab2xyz(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
lab2rgb
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function lch2lab(lch) { var l = lch[0], c = lch[1], h = lch[2], a, b, hr; hr = h / 360 * 2 * Math.PI; a = c * Math.cos(hr); b = c * Math.sin(hr); return [l, a, b]; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
lch2lab
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function lch2xyz(args) { return lab2xyz(lch2lab(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
lch2xyz
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function lch2rgb(args) { return lab2rgb(lch2lab(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
lch2rgb
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function keyword2rgb(keyword) { return cssKeywords[keyword]; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
keyword2rgb
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function keyword2hsl(args) { return rgb2hsl(keyword2rgb(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
keyword2hsl
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function keyword2hsv(args) { return rgb2hsv(keyword2rgb(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
keyword2hsv
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function keyword2hwb(args) { return rgb2hwb(keyword2rgb(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
keyword2hwb
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function keyword2cmyk(args) { return rgb2cmyk(keyword2rgb(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
keyword2cmyk
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function keyword2lab(args) { return rgb2lab(keyword2rgb(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
keyword2lab
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function keyword2xyz(args) { return rgb2xyz(keyword2rgb(args)); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
keyword2xyz
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
convert = function() { return new Converter(); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
convert
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
Converter = function() { this.convs = {}; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
Converter
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function hooks () { return hookCallback.apply(null, arguments); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
hooks
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function setHookCallback (callback) { hookCallback = callback; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
setHookCallback
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function isArray(input) { return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]'; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
isArray
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function isObject(input) { // IE8 will treat undefined and null as object if it wasn't for // input != null return input != null && Object.prototype.toString.call(input) === '[object Object]'; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
isObject
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function isObjectEmpty(obj) { if (Object.getOwnPropertyNames) { return (Object.getOwnPropertyNames(obj).length === 0); } else { var k; for (k in obj) { if (obj.hasOwnProperty(k)) { return false; } } ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
isObjectEmpty
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function isUndefined(input) { return input === void 0; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
isUndefined
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function isNumber(input) { return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]'; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
isNumber
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function isDate(input) { return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]'; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
isDate
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function map(arr, fn) { var res = [], i; for (i = 0; i < arr.length; ++i) { res.push(fn(arr[i], i)); } return res; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
map
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function hasOwnProp(a, b) { return Object.prototype.hasOwnProperty.call(a, b); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
hasOwnProp
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function extend(a, b) { for (var i in b) { if (hasOwnProp(b, i)) { a[i] = b[i]; } } if (hasOwnProp(b, 'toString')) { a.toString = b.toString; } if (hasOwnProp(b, 'valueOf')) { a.valueOf = b.valueOf; } ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
extend
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function createUTC (input, format, locale, strict) { return createLocalOrUTC(input, format, locale, strict, true).utc(); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
createUTC
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function defaultParsingFlags() { // We need to deep clone this object. return { empty : false, unusedTokens : [], unusedInput : [], overflow : -2, charsLeftOver : 0, nullInput : false, inv...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
defaultParsingFlags
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function getParsingFlags(m) { if (m._pf == null) { m._pf = defaultParsingFlags(); } return m._pf; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
getParsingFlags
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function isValid(m) { if (m._isValid == null) { var flags = getParsingFlags(m); var parsedParts = some.call(flags.parsedDateParts, function (i) { return i != null; }); var isNowValid = !isNaN(m._d.getTime()) && flags.overflow < 0 &&...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
isValid
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function createInvalid (flags) { var m = createUTC(NaN); if (flags != null) { extend(getParsingFlags(m), flags); } else { getParsingFlags(m).userInvalidated = true; } return m; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
createInvalid
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function copyConfig(to, from) { var i, prop, val; if (!isUndefined(from._isAMomentObject)) { to._isAMomentObject = from._isAMomentObject; } if (!isUndefined(from._i)) { to._i = from._i; } if (!isUndefined(from._f)) { to._f = from._f; ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
copyConfig
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function Moment(config) { copyConfig(this, config); this._d = new Date(config._d != null ? config._d.getTime() : NaN); if (!this.isValid()) { this._d = new Date(NaN); } // Prevent infinite loop in case updateOffset creates new moment // objects. if (up...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
Moment
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function isMoment (obj) { return obj instanceof Moment || (obj != null && obj._isAMomentObject != null); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
isMoment
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function absFloor (number) { if (number < 0) { // -0 -> 0 return Math.ceil(number) || 0; } else { return Math.floor(number); } }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
absFloor
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function toInt(argumentForCoercion) { var coercedNumber = +argumentForCoercion, value = 0; if (coercedNumber !== 0 && isFinite(coercedNumber)) { value = absFloor(coercedNumber); } return value; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
toInt
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function compareArrays(array1, array2, dontConvert) { var len = Math.min(array1.length, array2.length), lengthDiff = Math.abs(array1.length - array2.length), diffs = 0, i; for (i = 0; i < len; i++) { if ((dontConvert && array1[i] !== array2[i]) || ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
compareArrays
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function warn(msg) { if (hooks.suppressDeprecationWarnings === false && (typeof console !== 'undefined') && console.warn) { console.warn('Deprecation warning: ' + msg); } }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
warn
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function deprecate(msg, fn) { var firstTime = true; return extend(function () { if (hooks.deprecationHandler != null) { hooks.deprecationHandler(null, msg); } if (firstTime) { var args = []; var arg; for...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
deprecate
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function deprecateSimple(name, msg) { if (hooks.deprecationHandler != null) { hooks.deprecationHandler(name, msg); } if (!deprecations[name]) { warn(msg); deprecations[name] = true; } }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
deprecateSimple
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function isFunction(input) { return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
isFunction
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function set (config) { var prop, i; for (i in config) { prop = config[i]; if (isFunction(prop)) { this[i] = prop; } else { this['_' + i] = prop; } } this._config = config; // Lenient ordinal parsing ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
set
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function mergeConfigs(parentConfig, childConfig) { var res = extend({}, parentConfig), prop; for (prop in childConfig) { if (hasOwnProp(childConfig, prop)) { if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { res[prop] = {}; ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
mergeConfigs
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function Locale(config) { if (config != null) { this.set(config); } }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
Locale
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function calendar (key, mom, now) { var output = this._calendar[key] || this._calendar['sameElse']; return isFunction(output) ? output.call(mom, now) : output; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
calendar
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function longDateFormat (key) { var format = this._longDateFormat[key], formatUpper = this._longDateFormat[key.toUpperCase()]; if (format || !formatUpper) { return format; } this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) { ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
longDateFormat
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function invalidDate () { return this._invalidDate; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
invalidDate
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function ordinal (number) { return this._ordinal.replace('%d', number); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
ordinal
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function relativeTime (number, withoutSuffix, string, isFuture) { var output = this._relativeTime[string]; return (isFunction(output)) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
relativeTime
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function pastFuture (diff, output) { var format = this._relativeTime[diff > 0 ? 'future' : 'past']; return isFunction(format) ? format(output) : format.replace(/%s/i, output); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
pastFuture
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function addUnitAlias (unit, shorthand) { var lowerCase = unit.toLowerCase(); aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
addUnitAlias
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function normalizeUnits(units) { return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
normalizeUnits
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function normalizeObjectUnits(inputObject) { var normalizedInput = {}, normalizedProp, prop; for (prop in inputObject) { if (hasOwnProp(inputObject, prop)) { normalizedProp = normalizeUnits(prop); if (normalizedProp) { ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
normalizeObjectUnits
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function addUnitPriority(unit, priority) { priorities[unit] = priority; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
addUnitPriority
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function getPrioritizedUnits(unitsObj) { var units = []; for (var u in unitsObj) { units.push({unit: u, priority: priorities[u]}); } units.sort(function (a, b) { return a.priority - b.priority; }); return units; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
getPrioritizedUnits
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function zeroFill(number, targetLength, forceSign) { var absNumber = '' + Math.abs(number), zerosToFill = targetLength - absNumber.length, sign = number >= 0; return (sign ? (forceSign ? '+' : '') : '-') + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
zeroFill
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function addFormatToken (token, padded, ordinal, callback) { var func = callback; if (typeof callback === 'string') { func = function () { return this[callback](); }; } if (token) { formatTokenFunctions[token] = func; } ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
addFormatToken
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function removeFormattingTokens(input) { if (input.match(/\[[\s\S]/)) { return input.replace(/^\[|\]$/g, ''); } return input.replace(/\\/g, ''); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
removeFormattingTokens
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function makeFormatFunction(format) { var array = format.match(formattingTokens), i, length; for (i = 0, length = array.length; i < length; i++) { if (formatTokenFunctions[array[i]]) { array[i] = formatTokenFunctions[array[i]]; } else { array[i] =...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
makeFormatFunction
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function formatMoment(m, format) { if (!m.isValid()) { return m.localeData().invalidDate(); } format = expandFormat(format, m.localeData()); formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format); return formatFunctions[format](m); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
formatMoment
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function expandFormat(format, locale) { var i = 5; function replaceLongDateFormatTokens(input) { return locale.longDateFormat(input) || input; } localFormattingTokens.lastIndex = 0; while (i >= 0 && localFormattingTokens.test(format)) { format = format.r...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
expandFormat
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function replaceLongDateFormatTokens(input) { return locale.longDateFormat(input) || input; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
replaceLongDateFormatTokens
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function addRegexToken (token, regex, strictRegex) { regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) { return (isStrict && strictRegex) ? strictRegex : regex; }; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
addRegexToken
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function getParseRegexForToken (token, config) { if (!hasOwnProp(regexes, token)) { return new RegExp(unescapeFormat(token)); } return regexes[token](config._strict, config._locale); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
getParseRegexForToken
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function unescapeFormat(s) { return regexEscape(s.replace('\\', '').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) { return p1 || p2 || p3 || p4; })); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
unescapeFormat
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function regexEscape(s) { return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
regexEscape
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function addParseToken (token, callback) { var i, func = callback; if (typeof token === 'string') { token = [token]; } if (isNumber(callback)) { func = function (input, array) { array[callback] = toInt(input); }; } for (...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
addParseToken
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function addWeekParseToken (token, callback) { addParseToken(token, function (input, array, config, token) { config._w = config._w || {}; callback(input, config._w, config, token); }); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
addWeekParseToken
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function addTimeToArrayFromToken(token, input, config) { if (input != null && hasOwnProp(tokens, token)) { tokens[token](input, config._a, config, token); } }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
addTimeToArrayFromToken
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function daysInYear(year) { return isLeapYear(year) ? 366 : 365; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
daysInYear
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function isLeapYear(year) { return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
isLeapYear
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function getIsLeapYear () { return isLeapYear(this.year()); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
getIsLeapYear
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function makeGetSet (unit, keepTime) { return function (value) { if (value != null) { set$1(this, unit, value); hooks.updateOffset(this, keepTime); return this; } else { return get(this, unit); } }; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
makeGetSet
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function get (mom, unit) { return mom.isValid() ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
get
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function set$1 (mom, unit, value) { if (mom.isValid() && !isNaN(value)) { if (unit === 'FullYear' && isLeapYear(mom.year()) && mom.month() === 1 && mom.date() === 29) { mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value, mom.month(), daysInMonth(value, mom.month())); ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
set$1
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function stringGet (units) { units = normalizeUnits(units); if (isFunction(this[units])) { return this[units](); } return this; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
stringGet
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function stringSet (units, value) { if (typeof units === 'object') { units = normalizeObjectUnits(units); var prioritized = getPrioritizedUnits(units); for (var i = 0; i < prioritized.length; i++) { this[prioritized[i].unit](units[prioritized[i].unit]); ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
stringSet
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function mod(n, x) { return ((n % x) + x) % x; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
mod
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function daysInMonth(year, month) { if (isNaN(year) || isNaN(month)) { return NaN; } var modMonth = mod(month, 12); year += (month - modMonth) / 12; return modMonth === 1 ? (isLeapYear(year) ? 29 : 28) : (31 - modMonth % 7 % 2); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
daysInMonth
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function localeMonths (m, format) { if (!m) { return isArray(this._months) ? this._months : this._months['standalone']; } return isArray(this._months) ? this._months[m.month()] : this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'form...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
localeMonths
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function localeMonthsShort (m, format) { if (!m) { return isArray(this._monthsShort) ? this._monthsShort : this._monthsShort['standalone']; } return isArray(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format)...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
localeMonthsShort
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function handleStrictParse(monthName, format, strict) { var i, ii, mom, llc = monthName.toLocaleLowerCase(); if (!this._monthsParse) { // this is not used this._monthsParse = []; this._longMonthsParse = []; this._shortMonthsParse = []; for (i =...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
handleStrictParse
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function localeMonthsParse (monthName, format, strict) { var i, mom, regex; if (this._monthsParseExact) { return handleStrictParse.call(this, monthName, format, strict); } if (!this._monthsParse) { this._monthsParse = []; this._longMonthsParse = []; ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
localeMonthsParse
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function setMonth (mom, value) { var dayOfMonth; if (!mom.isValid()) { // No op return mom; } if (typeof value === 'string') { if (/^\d+$/.test(value)) { value = toInt(value); } else { value = mom.localeDat...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
setMonth
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function getSetMonth (value) { if (value != null) { setMonth(this, value); hooks.updateOffset(this, true); return this; } else { return get(this, 'Month'); } }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
getSetMonth
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function getDaysInMonth () { return daysInMonth(this.year(), this.month()); }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
getDaysInMonth
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function monthsShortRegex (isStrict) { if (this._monthsParseExact) { if (!hasOwnProp(this, '_monthsRegex')) { computeMonthsParse.call(this); } if (isStrict) { return this._monthsShortStrictRegex; } else { return this...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
monthsShortRegex
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function monthsRegex (isStrict) { if (this._monthsParseExact) { if (!hasOwnProp(this, '_monthsRegex')) { computeMonthsParse.call(this); } if (isStrict) { return this._monthsStrictRegex; } else { return this._monthsRe...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
monthsRegex
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function computeMonthsParse () { function cmpLenRev(a, b) { return b.length - a.length; } var shortPieces = [], longPieces = [], mixedPieces = [], i, mom; for (i = 0; i < 12; i++) { // make the regex if we don't have it already mom = creat...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
computeMonthsParse
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function cmpLenRev(a, b) { return b.length - a.length; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
cmpLenRev
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function createDate (y, m, d, h, M, s, ms) { // can't just apply() to create a date: // https://stackoverflow.com/q/181348 var date = new Date(y, m, d, h, M, s, ms); // the date constructor remaps years 0-99 to 1900-1999 if (y < 100 && y >= 0 && isFinite(date.getFullYear())) { ...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
createDate
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function createUTCDate (y) { var date = new Date(Date.UTC.apply(null, arguments)); // the Date.UTC function remaps years 0-99 to 1900-1999 if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) { date.setUTCFullYear(y); } return date; }
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
createUTCDate
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT
function firstWeekOffset(year, dow, doy) { var // first-week day -- which january is always in the first week (4 for iso, 1 for other) fwd = 7 + dow - doy, // first-week day local weekday -- which local weekday is fwd fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow...
Ported from sass implementation in C https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
firstWeekOffset
javascript
syzoj/syzoj
static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/Chart.js/2.7.3/Chart.bundle.js
MIT