From 67ba68697e640e84e717211880cb83784427a8dc Mon Sep 17 00:00:00 2001 From: Jon Sadka Date: Wed, 2 May 2018 13:58:58 -0700 Subject: [PATCH] Update to deep equality check in example code --- src/ui/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/map.js b/src/ui/map.js index 50c8b6caaea..86309d5eb7b 100755 --- a/src/ui/map.js +++ b/src/ui/map.js @@ -202,7 +202,7 @@ const defaultOptions = { * style: style_object, * hash: true, * transformRequest: (url, resourceType)=> { - * if(resourceType == 'Source' && url.startsWith('http://myHost')) { + * if(resourceType === 'Source' && url.startsWith('http://myHost')) { * return { * url: url.replace('http', 'https'), * headers: { 'my-custom-header': true},