From 07dd8ce06a02ee1d74c00119bb29feba07121e14 Mon Sep 17 00:00:00 2001 From: David Clark Date: Fri, 6 Jan 2017 12:40:14 -0700 Subject: [PATCH] Remove arrow function from debug HTML Closes #580 --- debug/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debug/index.html b/debug/index.html index b0469892..06e9ae12 100644 --- a/debug/index.html +++ b/debug/index.html @@ -1,6 +1,7 @@ + Mapbox GL Draw | Mapbox @@ -123,9 +124,9 @@ req.onerror = function() { throw new Error('Network Error'); }; - req.onload = () => { + req.onload = function() { var fc = JSON.parse(req.response); - fc.features.forEach(feature => { + fc.features.forEach(function(feature) { if(feature.geometry.type.startsWith('Multi') === false) { Draw.add(feature); }