array.contains
@@ -14,4 +14,11 @@ Array.prototype.remove = function(element)
14
14
{
15
15
console.error("Element not part of array!", this, element);
16
16
}
17
}
18
19
Array.prototype.contains = function(element)
20
{
21
var index = this.indexOf(element);
22
23
return index > -1;
17
24
}
@@ -14,4 +14,11 @@ Array.prototype.remove = function(element)14
{14
{15
console.error("Element not part of array!", this, element);15
console.error("Element not part of array!", this, element);16
}16
}17
}18
19
Array.prototype.contains = function(element)20
{21
var index = this.indexOf(element);22
23
return index > -1;17
}24
}@@ -543,6 +543,13 @@ Array.prototype.remove = function(element)
543
543
{
544
544
console.error("Element not part of array!", this, element);
545
545
}
546
}
547
548
Array.prototype.contains = function(element)
549
{
550
var index = this.indexOf(element);
551
552
return index > -1;
546
553
}//<DOC> <category> Image
547
554
//<DOC> <function> Constructor: new image(urlToImage, subImages = 1, subImagesPerRow = 1)
548
555
function image(url, subImgTotal = 1, perRow = 1)
@@ -543,6 +543,13 @@ Array.prototype.remove = function(element)543
{543
{544
console.error("Element not part of array!", this, element);544
console.error("Element not part of array!", this, element);545
}545
}546
}547
548
Array.prototype.contains = function(element)549
{550
var index = this.indexOf(element);551
552
return index > -1;546
}//<DOC> <category> Image553
}//<DOC> <category> Image547
//<DOC> <function> Constructor: new image(urlToImage, subImages = 1, subImagesPerRow = 1)554
//<DOC> <function> Constructor: new image(urlToImage, subImages = 1, subImagesPerRow = 1)548
function image(url, subImgTotal = 1, perRow = 1)555
function image(url, subImgTotal = 1, perRow = 1)@@ -1,3 +1,4 @@
1
1
2017-02-03 11:19
2
2
2017-02-03 12:06
3
3
2017-02-03 13:17
4
2017-02-03 13:18
@@ -1,3 +1,4 @@1
2017-02-03 11:19 1
2017-02-03 11:19 2
2017-02-03 12:06 2
2017-02-03 12:06 3
2017-02-03 13:17 3
2017-02-03 13:17 4
2017-02-03 13:18