Merge pull request #4723 from dcsmith926/staging

use of ".map()" should be ".forEach()"
This commit is contained in:
Logan Tegman
2015-11-25 17:11:18 -08:00

View File

@ -239,7 +239,7 @@
"", "",
" var html = \"\";", " var html = \"\";",
"", "",
" json.map(function(val) {", " json.forEach(function(val) {",
"", "",
" html += \"<div class = 'cat'>\";", " html += \"<div class = 'cat'>\";",
"", "",
@ -310,7 +310,7 @@
" ", " ",
" // Only change code above this line.", " // Only change code above this line.",
"", "",
" json.map(function(val){", " json.forEach(function(val) {",
"", "",
" html += \"<div class = 'cat'>\"", " html += \"<div class = 'cat'>\"",
"", "",