From f61107ed0547f38bc3d480459612416bd3389820 Mon Sep 17 00:00:00 2001 From: Will Hurley Date: Sun, 4 Dec 2016 05:06:12 -0800 Subject: [PATCH] update geolocation to use either quotation mark --- .../json-apis-and-ajax.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/01-front-end-development-certification/json-apis-and-ajax.json b/challenges/01-front-end-development-certification/json-apis-and-ajax.json index 231f240f759..426a7008a80 100644 --- a/challenges/01-front-end-development-certification/json-apis-and-ajax.json +++ b/challenges/01-front-end-development-certification/json-apis-and-ajax.json @@ -506,7 +506,7 @@ "assert(code.match(/navigator\\.geolocation\\.getCurrentPosition/gi), 'message: You should make use of navigator.geolocation to access the users current location.');", "assert(code.match(/position\\.coords\\.latitude/gi), 'message: You should make use of position.coords.latitude to display the users' latitudinal location.');", "assert(code.match(/position\\.coords\\.longitude/gi), 'message: You should make use of position.coords.longitude to display the users' longitudinal location.');", - "assert(code.match(/\\$\\(\\s*\"#data\"\\s*\\)\\s*\\.html\\([.\\w\\W]*?\\);/gi), 'message: You should display the users' position within the data div element');" + "assert(code.match(/\\$\\(\\s*['\"]#data['\"]\\s*\\)\\s*\\.html\\([.\\w\\W]*?\\);/gi), 'message: You should display the users' position within the data div element');" ], "type": "waypoint", "challengeType": 0,