Skip to content

Commit ba90857

Browse files
committed
typo? wrong function.
1 parent 3a6e705 commit ba90857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/simple _function.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
{ color: 5, shape: "triangle"},
4040
];
4141
var inputFunction = function (callback) {
42-
rawData.each(function (element, index) {
42+
rawData.forEach(function (element, index) {
4343
callback({
4444
color: lookupColour[element.color],
4545
shape: element.shape

0 commit comments

Comments
 (0)