Skip to content

Instantly share code, notes, and snippets.

Avatar

Jaime Jaramillo jjaramillo

  • Globant
  • Bogotá, Colombia
View GitHub Profile
@hyle
hyle / ko.utils.3.1.0.signatures.js
Created Mar 5, 2014
KnockoutJS 3.1.0 utils (ko.utils) signatures
View ko.utils.3.1.0.signatures.js
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) { /* .. */ }
@hyle
hyle / ko.utils.signatures.js
Last active Jan 14, 2021
KnockoutJS utils (ko.utils) signatures
View ko.utils.signatures.js
// knockout 2.2.1
ko.utils.arrayFilter = function (array, predicate) { /* .. */ }
ko.utils.arrayFirst = function (array, predicate, predicateOwner) { /* .. */ }
ko.utils.arrayForEach = function (array, action) { /* .. */ }
ko.utils.arrayGetDistinctValues = function (array) { /* .. */ }