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 checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", propName, typeName(value)); ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
checkCSSPropertyStringCoercion
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value)); return testStringCoer...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
checkHtmlStringCoercion
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function isAttributeNameSafe(attributeName) { if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) { return true; } if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) { return false; } i...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
isAttributeNameSafe
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { if (propertyInfo !== null && propertyInfo.type === RESERVED) { return false; } switch (typeof value) { case "function": case "symbol": ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
shouldRemoveAttributeWithWarning
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function getPropertyInfo(name) { return properties.hasOwnProperty(name) ? properties[name] : null; }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
getPropertyInfo
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL2, removeEmptyString) { this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN; this.attributeName = attributeName; this.attribut...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
PropertyInfoRecord
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
capitalize = function(token) { return token[1].toUpperCase(); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
capitalize
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function prefixKey(prefix2, key) { return prefix2 + key.charAt(0).toUpperCase() + key.substring(1); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
prefixKey
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function checkControlledValueProps(tagName, props) { { if (!(hasReadOnlyValue[props.type] || props.onChange || props.onInput || props.readOnly || props.disabled || props.value == null)) { error("You provided a `value` prop to a form field without an `onChange` handler. Th...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
checkControlledValueProps
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function isCustomComponent(tagName, props) { if (tagName.indexOf("-") === -1) { return typeof props.is === "string"; } switch (tagName) { case "annotation-xml": case "color-profile": case "font-face": ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
isCustomComponent
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function validateProperty(tagName, name) { { if (hasOwnProperty.call(warnedProperties, name) && warnedProperties[name]) { return true; } if (rARIACamel.test(name)) { var ariaName = "aria-" + name.slice(4).toLowerCase(); ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
validateProperty
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function warnInvalidARIAProps(type, props) { { var invalidProps = []; for (var key in props) { var isValid = validateProperty(type, key); if (!isValid) { invalidProps.push(key); } } ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
warnInvalidARIAProps
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function validateProperties(type, props) { if (isCustomComponent(type, props)) { return; } warnInvalidARIAProps(type, props); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
validateProperties
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function validateProperties$1(type, props) { { if (type !== "input" && type !== "textarea" && type !== "select") { return; } if (props != null && props.value === null && !didWarnValueNull) { didWarnValueNull = true; ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
validateProperties$1
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
warnUnknownProperties = function(type, props, eventRegistry) { { var unknownProps = []; for (var key in props) { var isValid = validateProperty$1(type, key, props[key], eventRegistry); if (!isValid) { unknownProps.push...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
warnUnknownProperties
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function validateProperties$2(type, props, eventRegistry) { if (isCustomComponent(type, props)) { return; } warnUnknownProperties(type, props, eventRegistry); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
validateProperties$2
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
camelize = function(string) { return string.replace(hyphenPattern, function(_, character) { return character.toUpperCase(); }); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
camelize
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
warnHyphenatedStyleName = function(name) { if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { return; } warnedStyleNames[name] = true; error( "Unsupported style property %s. Did you mean %s?", ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
warnHyphenatedStyleName
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
warnBadVendoredStyleName = function(name) { if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { return; } warnedStyleNames[name] = true; error("Unsupported vendor-prefixed style property %s. Did you mean %s?", name, nam...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
warnBadVendoredStyleName
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
warnStyleValueWithSemicolon = function(name, value) { if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) { return; } warnedStyleValues[value] = true; error(`Style property values shouldn't contain a semicolon. Try "%...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
warnStyleValueWithSemicolon
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
warnStyleValueIsNaN = function(name, value) { if (warnedForNaNValue) { return; } warnedForNaNValue = true; error("`NaN` is an invalid value for the `%s` css style property.", name); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
warnStyleValueIsNaN
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
warnStyleValueIsInfinity = function(name, value) { if (warnedForInfinityValue) { return; } warnedForInfinityValue = true; error("`Infinity` is an invalid value for the `%s` css style property.", name); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
warnStyleValueIsInfinity
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function escapeHtml(string) { { checkHtmlStringCoercion(string); } var str = "" + string; var match = matchHtmlRegExp.exec(str); if (!match) { return str; } var escape; var htm...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
escapeHtml
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function escapeTextForBrowser(text) { if (typeof text === "boolean" || typeof text === "number") { return "" + text; } return escapeHtml(text); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
escapeTextForBrowser
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function hyphenateStyleName(name) { return name.replace(uppercasePattern, "-$1").toLowerCase().replace(msPattern$1, "-ms-"); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
hyphenateStyleName
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function sanitizeURL(url) { { if (!didWarn && isJavaScriptProtocol.test(url)) { didWarn = true; error("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe H...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
sanitizeURL
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function isArray(a) { return isArrayImpl(a); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
isArray
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function escapeBootstrapScriptContent(scriptText) { { checkHtmlStringCoercion(scriptText); } return ("" + scriptText).replace(scriptRegex, scriptReplacer); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
escapeBootstrapScriptContent
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
scriptReplacer = function(match, prefix2, s, suffix) { return "" + prefix2 + (s === "s" ? "\\u0073" : "\\u0053") + suffix; }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
scriptReplacer
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules) { var idPrefix = identifierPrefix === void 0 ? "" : identifierPrefix; var inlineScriptWithNonce = nonce === void 0 ? startInlineScript : stringToPrecomputedChunk('<script nonce="...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
createResponseState
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function createFormatContext(insertionMode, selectedValue) { return { insertionMode, selectedValue }; }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
createFormatContext
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function getChildFormatContext(parentContext, type, props) { switch (type) { case "select": return createFormatContext(HTML_MODE, props.value != null ? props.value : props.defaultValue); case "svg": return createFormatContext(SVG_MODE, nu...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
getChildFormatContext
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function assignSuspenseBoundaryID(responseState) { var generatedID = responseState.nextSuspenseID++; return stringToPrecomputedChunk(responseState.boundaryPrefix + generatedID.toString(16)); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
assignSuspenseBoundaryID
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function makeId(responseState, treeId, localId) { var idPrefix = responseState.idPrefix; var id = ":" + idPrefix + "R" + treeId; if (localId > 0) { id += "H" + localId.toString(32); } return id + ":"; }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
makeId
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function encodeHTMLTextNode(text) { return escapeTextForBrowser(text); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
encodeHTMLTextNode
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushTextInstance(target, text, responseState, textEmbedded) { if (text === "") { return textEmbedded; } if (textEmbedded) { target.push(textSeparator); } target.push(stringToChunk(encodeHTMLTextNode(text))); ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushTextInstance
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushSegmentFinale(target, responseState, lastPushedText, textEmbedded) { if (lastPushedText && textEmbedded) { target.push(textSeparator); } }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushSegmentFinale
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function processStyleName(styleName) { var chunk = styleNameCache.get(styleName); if (chunk !== void 0) { return chunk; } var result = stringToPrecomputedChunk(escapeTextForBrowser(hyphenateStyleName(styleName))); styleNameCache.set(s...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
processStyleName
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushStyle(target, responseState, style) { if (typeof style !== "object") { throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."); } var isF...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushStyle
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushAttribute(target, responseState, name, value) { switch (name) { case "style": { pushStyle(target, responseState, value); return; } case "defaultValue": case "defaultChecked": ca...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushAttribute
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushInnerHTML(target, innerHTML, children) { if (innerHTML != null) { if (children != null) { throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); } if (typeof innerHTML !== "object" || !("__html" ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushInnerHTML
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function checkSelectProp(props, propName) { { var value = props[propName]; if (value != null) { var array = isArray(value); if (props.multiple && !array) { error("The `%s` prop supplied to <select> must be an array if ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
checkSelectProp
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushStartSelect(target, props, responseState) { { checkControlledValueProps("select", props); checkSelectProp(props, "value"); checkSelectProp(props, "defaultValue"); if (props.value !== void 0 && props.defaultValue !== void 0 && !di...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushStartSelect
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function flattenOptionChildren(children) { var content = ""; React3.Children.forEach(children, function(child) { if (child == null) { return; } content += child; { if (!didWarnInvalidOptionChi...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
flattenOptionChildren
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushStartOption(target, props, responseState, formatContext) { var selectedValue = formatContext.selectedValue; target.push(startChunkForTag("option")); var children = null; var value = null; var selected = null; var innerHTML ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushStartOption
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushInput(target, props, responseState) { { checkControlledValueProps("input", props); if (props.checked !== void 0 && props.defaultChecked !== void 0 && !didWarnDefaultChecked) { error("%s contains an input of type %s with both checked and defaul...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushInput
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushStartTextArea(target, props, responseState) { { checkControlledValueProps("textarea", props); if (props.value !== void 0 && props.defaultValue !== void 0 && !didWarnDefaultTextareaValue) { error("Textarea elements must be either controlled or ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushStartTextArea
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushSelfClosing(target, props, tag, responseState) { target.push(startChunkForTag(tag)); for (var propKey in props) { if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (propValue == null) { ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushSelfClosing
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushStartMenuItem(target, props, responseState) { target.push(startChunkForTag("menuitem")); for (var propKey in props) { if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (propValue == null) { ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushStartMenuItem
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushStartTitle(target, props, responseState) { target.push(startChunkForTag("title")); var children = null; for (var propKey in props) { if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (p...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushStartTitle
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushStartGenericElement(target, props, tag, responseState) { target.push(startChunkForTag(tag)); var children = null; var innerHTML = null; for (var propKey in props) { if (hasOwnProperty.call(props, propKey)) { var propV...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushStartGenericElement
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushStartCustomElement(target, props, tag, responseState) { target.push(startChunkForTag(tag)); var children = null; var innerHTML = null; for (var propKey in props) { if (hasOwnProperty.call(props, propKey)) { var propVa...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushStartCustomElement
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushStartPreformattedElement(target, props, tag, responseState) { target.push(startChunkForTag(tag)); var children = null; var innerHTML = null; for (var propKey in props) { if (hasOwnProperty.call(props, propKey)) { var ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushStartPreformattedElement
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function startChunkForTag(tag) { var tagStartChunk = validatedTagCache.get(tag); if (tagStartChunk === void 0) { if (!VALID_TAG_REGEX.test(tag)) { throw new Error("Invalid tag: " + tag); } tagStartChunk = stringToPrecomputedCh...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
startChunkForTag
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushStartInstance(target, type, props, responseState, formatContext) { { validateProperties(type, props); validateProperties$1(type, props); validateProperties$2(type, props, null); if (!props.suppressContentEditableWarning && props....
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushStartInstance
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushEndInstance(target, type, props) { switch (type) { case "area": case "base": case "br": case "col": case "embed": case "hr": case "img": case "input": ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushEndInstance
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeCompletedRoot(destination, responseState) { var bootstrapChunks = responseState.bootstrapChunks; var i = 0; for (; i < bootstrapChunks.length - 1; i++) { writeChunk(destination, bootstrapChunks[i]); } if (i < bootstrapCh...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeCompletedRoot
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writePlaceholder(destination, responseState, id) { writeChunk(destination, placeholder1); writeChunk(destination, responseState.placeholderPrefix); var formattedID = stringToChunk(id.toString(16)); writeChunk(destination, formattedID); retur...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writePlaceholder
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeStartCompletedSuspenseBoundary(destination, responseState) { return writeChunkAndReturn(destination, startCompletedSuspenseBoundary); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeStartCompletedSuspenseBoundary
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeStartPendingSuspenseBoundary(destination, responseState, id) { writeChunk(destination, startPendingSuspenseBoundary1); if (id === null) { throw new Error("An ID must have been assigned before we can complete the boundary."); } writeCh...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeStartPendingSuspenseBoundary
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeStartClientRenderedSuspenseBoundary(destination, responseState, errorDigest, errorMesssage, errorComponentStack) { var result; result = writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary); writeChunk(destination, clientRenderedSuspenseBoundaryErr...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeStartClientRenderedSuspenseBoundary
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeEndCompletedSuspenseBoundary(destination, responseState) { return writeChunkAndReturn(destination, endSuspenseBoundary); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeEndCompletedSuspenseBoundary
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeEndPendingSuspenseBoundary(destination, responseState) { return writeChunkAndReturn(destination, endSuspenseBoundary); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeEndPendingSuspenseBoundary
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeEndClientRenderedSuspenseBoundary(destination, responseState) { return writeChunkAndReturn(destination, endSuspenseBoundary); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeEndClientRenderedSuspenseBoundary
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeStartSegment(destination, responseState, formatContext, id) { switch (formatContext.insertionMode) { case ROOT_HTML_MODE: case HTML_MODE: { writeChunk(destination, startSegmentHTML); writeChunk(destination, responseState.seg...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeStartSegment
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeEndSegment(destination, formatContext) { switch (formatContext.insertionMode) { case ROOT_HTML_MODE: case HTML_MODE: { return writeChunkAndReturn(destination, endSegmentHTML); } case SVG_MODE: { ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeEndSegment
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeCompletedSegmentInstruction(destination, responseState, contentSegmentID) { writeChunk(destination, responseState.startInlineScript); if (!responseState.sentCompleteSegmentFunction) { responseState.sentCompleteSegmentFunction = true; writeChunk(d...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeCompletedSegmentInstruction
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeCompletedBoundaryInstruction(destination, responseState, boundaryID, contentSegmentID) { writeChunk(destination, responseState.startInlineScript); if (!responseState.sentCompleteBoundaryFunction) { responseState.sentCompleteBoundaryFunction = true; ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeCompletedBoundaryInstruction
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeClientRenderBoundaryInstruction(destination, responseState, boundaryID, errorDigest, errorMessage, errorComponentStack) { writeChunk(destination, responseState.startInlineScript); if (!responseState.sentClientRenderFunction) { responseState.sentClientRenderFunct...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeClientRenderBoundaryInstruction
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function escapeJSStringsForInstructionScripts(input) { var escaped = JSON.stringify(input); return escaped.replace(regexForJSStringsInScripts, function(match) { switch (match) { case "<": return "\\u003c"; case "\u2028":...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
escapeJSStringsForInstructionScripts
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function createResponseState$1(generateStaticMarkup, identifierPrefix) { var responseState = createResponseState(identifierPrefix, void 0); return { // Keep this in sync with ReactDOMServerFormatConfig bootstrapChunks: responseState.bootstrapChunks, ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
createResponseState$1
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function createRootFormatContext() { return { insertionMode: HTML_MODE, // We skip the root mode because we don't want to emit the DOCTYPE in legacy mode. selectedValue: null }; }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
createRootFormatContext
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushTextInstance$1(target, text, responseState, textEmbedded) { if (responseState.generateStaticMarkup) { target.push(stringToChunk(escapeTextForBrowser(text))); return false; } else { return pushTextInstance(target, text, responseStat...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushTextInstance$1
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushSegmentFinale$1(target, responseState, lastPushedText, textEmbedded) { if (responseState.generateStaticMarkup) { return; } else { return pushSegmentFinale(target, responseState, lastPushedText, textEmbedded); } }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushSegmentFinale$1
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeStartCompletedSuspenseBoundary$1(destination, responseState) { if (responseState.generateStaticMarkup) { return true; } return writeStartCompletedSuspenseBoundary(destination); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeStartCompletedSuspenseBoundary$1
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeStartClientRenderedSuspenseBoundary$1(destination, responseState, errorDigest, errorMessage, errorComponentStack) { if (responseState.generateStaticMarkup) { return true; } return writeStartClientRenderedSuspenseBoundary(destination, responseState,...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeStartClientRenderedSuspenseBoundary$1
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeEndCompletedSuspenseBoundary$1(destination, responseState) { if (responseState.generateStaticMarkup) { return true; } return writeEndCompletedSuspenseBoundary(destination); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeEndCompletedSuspenseBoundary$1
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function writeEndClientRenderedSuspenseBoundary$1(destination, responseState) { if (responseState.generateStaticMarkup) { return true; } return writeEndClientRenderedSuspenseBoundary(destination); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
writeEndClientRenderedSuspenseBoundary$1
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function getIteratorFn(maybeIterable) { if (maybeIterable === null || typeof maybeIterable !== "object") { return null; } var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; if (...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
getIteratorFn
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function getWrappedName(outerType, innerType, wrapperName) { var displayName = outerType.displayName; if (displayName) { return displayName; } var functionName = innerType.displayName || innerType.name || ""; return functionName !== "...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
getWrappedName
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function getContextName(type) { return type.displayName || "Context"; }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
getContextName
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function getComponentNameFromType(type) { if (type == null) { return null; } { if (typeof type.tag === "number") { error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
getComponentNameFromType
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function disableLogs() { { if (disabledDepth === 0) { prevLog = console.log; prevInfo = console.info; prevWarn = console.warn; prevError = console.error; prevGroup = console.group; p...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
disableLogs
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function reenableLogs() { { disabledDepth--; if (disabledDepth === 0) { var props = { configurable: true, enumerable: true, writable: true }; Object.definePrope...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
reenableLogs
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function describeBuiltInComponentFrame(name, source, ownerFn) { { if (prefix === void 0) { try { throw Error(); } catch (x) { var match = x.stack.trim().match(/\n( *(at )?)/); prefix = match && ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
describeBuiltInComponentFrame
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function describeNativeComponentFrame(fn, construct) { if (!fn || reentry) { return ""; } { var frame = componentFrameCache.get(fn); if (frame !== void 0) { return frame; } } ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
describeNativeComponentFrame
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
Fake = function() { throw Error(); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
Fake
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function describeClassComponentFrame(ctor, source, ownerFn) { { return describeNativeComponentFrame(ctor, true); } }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
describeClassComponentFrame
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function describeFunctionComponentFrame(fn, source, ownerFn) { { return describeNativeComponentFrame(fn, false); } }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
describeFunctionComponentFrame
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function shouldConstruct(Component) { var prototype = Component.prototype; return !!(prototype && prototype.isReactComponent); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
shouldConstruct
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) { if (type == null) { return ""; } if (typeof type === "function") { { return describeNativeComponentFrame(type, shouldConstruct(type)); } ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
describeUnknownElementTypeFrameInDEV
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function setCurrentlyValidatingElement(element) { { if (element) { var owner = element._owner; var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null); ReactDebugCurrentFrame.setExtraSt...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
setCurrentlyValidatingElement
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function checkPropTypes(typeSpecs, values, location, componentName, element) { { var has = Function.call.bind(hasOwnProperty); for (var typeSpecName in typeSpecs) { if (has(typeSpecs, typeSpecName)) { var error$1 = void 0; ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
checkPropTypes
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function getMaskedContext(type, unmaskedContext) { { var contextTypes = type.contextTypes; if (!contextTypes) { return emptyContextObject; } var context = {}; for (var key in contextTypes) { ...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
getMaskedContext
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function processChildContext(instance, type, parentContext, childContextTypes) { { if (typeof instance.getChildContext !== "function") { { var componentName = getComponentNameFromType(type) || "Unknown"; if (!warnedAboutMissingGetCh...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
processChildContext
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function popNode(prev) { { prev.context._currentValue2 = prev.parentValue; } }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
popNode
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushNode(next) { { next.context._currentValue2 = next.value; } }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushNode
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function popToNearestCommonAncestor(prev, next) { if (prev === next) ; else { popNode(prev); var parentPrev = prev.parent; var parentNext = next.parent; if (parentPrev === null) { if (parentNext...
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
popToNearestCommonAncestor
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function popAllPrevious(prev) { popNode(prev); var parentPrev = prev.parent; if (parentPrev !== null) { popAllPrevious(parentPrev); } }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
popAllPrevious
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT
function pushAllNext(next) { var parentNext = next.parent; if (parentNext !== null) { pushAllNext(parentNext); } pushNode(next); }
Sets a subset of the state. This only exists because _pendingState is internal. This provides a merging strategy that is not available to deep properties which is confusing. TODO: Expose pendingState or don't use it during the merge. @param {ReactClass} publicInstance The instance that should rerender. @param {object}...
pushAllNext
javascript
wasmerio/winterjs
tests/complex.js
https://github.com/wasmerio/winterjs/blob/master/tests/complex.js
MIT