-
-
Save mk2/0d3daae4cc162481844ea2b9325540f9 to your computer and use it in GitHub Desktop.
KnockoutJS 3.4.0 utils (ko.utils) signatures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// knockout 3.4.0 | |
ko.utils.addOrRemoveItem = function (array, value, included) { /* .. */ } | |
ko.utils.anyDomNodeIsAttachedToDocument = function (nodes) { /* .. */ } | |
ko.utils.arrayFilter = function (array, predicate) { /* .. */ } | |
ko.utils.arrayFirst = function (array, predicate, predicateOwner) { /* .. */ } | |
ko.utils.arrayForEach = function (array, action) { /* .. */ } | |
ko.utils.arrayGetDistinctValues = function (array) { /* .. */ } | |
ko.utils.arrayIndexOf = function (array, item) { /* .. */ } | |
ko.utils.arrayMap = function (array, mapping) { /* .. */ } | |
ko.utils.arrayPushAll = function (array, valuesToPush) { /* .. */ } | |
ko.utils.arrayRemoveItem = function (array, itemToRemove) { /* .. */ } | |
ko.utils.catchFunctionErrors = function (delegate) { /* .. */ } | |
ko.utils.cloneNodes = function (nodesArray, shouldCleanNodes) { /* .. */ } | |
ko.utils.compareArrays = function compareArrays(oldArray, newArray, options) { /* .. */ } | |
ko.utils.createSymbolOrString = function (identifier) { /* .. */ } | |
ko.utils.deferError = function (error) { /* .. */ } | |
ko.utils.domNodeIsAttachedToDocument = function (node) { /* .. */ } | |
ko.utils.domNodeIsContainedBy = function (node, containedByNode) { /* .. */ } | |
ko.utils.emptyDomNode = function (domNode) { /* .. */ } | |
ko.utils.ensureSelectElementIsRenderedCorrectly = function (selectElement) { /* .. */ } | |
ko.utils.extend = function extend(target, source) { /* .. */ } | |
ko.utils.findMovesInArrayComparison = function (left, right, limitFailedCompares) { /* .. */ } | |
ko.utils.fixUpContinuousNodeArray = function (continuousNodeArray, parentNode) { /* .. */ } | |
ko.utils.forceRefresh = function (node) { /* .. */ } | |
ko.utils.getFormFields = function (form, fieldName) { /* .. */ } | |
ko.utils.makeArray = function (arrayLikeObject) { /* .. */ } | |
ko.utils.moveCleanedNodesToContainerElement = function (nodes) { /* .. */ } | |
ko.utils.objectForEach = function objectForEach(obj, action) { /* .. */ } | |
ko.utils.objectMap = function (source, mapping) { /* .. */ } | |
ko.utils.parseHtmlFragment = function (html, documentContext) { /* .. */ } | |
ko.utils.parseJson = function (jsonString) { /* .. */ } | |
ko.utils.peekObservable = function (value) { /* .. */ } | |
ko.utils.postJson = function (urlOrForm, data, options) { /* .. */ } | |
ko.utils.range = function (min, max) { /* .. */ } | |
ko.utils.registerEventHandler = function (element, eventType, handler) { /* .. */ } | |
ko.utils.replaceDomNodes = function (nodeToReplaceOrNodeArray, newNodesArray) { /* .. */ } | |
ko.utils.setDomNodeChildren = function (domNode, childNodes) { /* .. */ } | |
ko.utils.setDomNodeChildrenFromArrayMapping = function (domNode, array, mapping, options, callbackAfterAddingNodes) { /* .. */ } | |
ko.utils.setElementName = function (element, name) { /* .. */ } | |
ko.utils.setHtml = function (node, html) { /* .. */ } | |
ko.utils.setOptionNodeSelectionState = function (optionNode, isSelected) { /* .. */ } | |
ko.utils.setPrototypeOf = function setPrototypeOf(obj, proto) { /* .. */ } | |
ko.utils.setPrototypeOfOrExtend = function setPrototypeOf(obj, proto) { /* .. */ } | |
ko.utils.setTextContent = function (element, textContent) { /* .. */ } | |
ko.utils.setTimeout = function (handler, timeout) { /* .. */ } | |
ko.utils.stringStartsWith = function (string, startsWith) { /* .. */ } | |
ko.utils.stringTrim = function (string) { /* .. */ } | |
ko.utils.stringifyJson = function (data, replacer, space) { /* replacer and space are optional .. */ } | |
ko.utils.tagNameLower = function (element) { /* .. */ } | |
ko.utils.toggleDomNodeCssClass = function toggleDomNodeCssClass(node, classNames, shouldHaveClass) { /* .. */ } | |
ko.utils.triggerEvent = function (element, eventType) { /* .. */ } | |
ko.utils.unwrapObservable = function (value) { /* .. */ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment