Skip to content

Commit b64faa3

Browse files
committed
PR fixes
1 parent 3eb5129 commit b64faa3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/cognitive-services/immersive-reader/tutorial-multiple-resources.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: immersive-reader
1010
ms.topic: tutorial
11-
ms.date: 01/14/2020
11+
ms.date: 01/14/2020
1212
ms.author: skamal
1313
#Customer intent: As a developer, I want to learn more about the Immersive Reader SDK so that I can fully utilize all that the SDK has to offer.
1414
---
@@ -108,14 +108,14 @@ router.get('/GetTokenAndSubdomain', function(req, res) {
108108
console.log(err);
109109
return res.status(500).send('CogSvcs IssueToken error');
110110
}
111-
111+
112112
var tokenResultParsed = JSON.parse(tokenResult);
113-
113+
114114
if (tokenResultParsed.error) {
115115
console.log(tokenResult);
116116
return res.send({error : "Unable to acquire Azure AD token. Check the debugger for more information."})
117117
}
118-
118+
119119
var token = tokenResultParsed.access_token;
120120

121121
var subdomain = "";
@@ -169,8 +169,8 @@ The **getimmersivereaderlaunchparams** API endpoint should be secured behind som
169169
}
170170
body
171171
div(class="container")
172-
button(class="immersive-reader-button" data-button-style="icon" data-locale="en" onclick='handleLaunchImmersiveReader("wus")') WestUS Immersive Reader
173-
button(class="immersive-reader-button" data-button-style="icon" data-locale="en" onclick='handleLaunchImmersiveReader("eus")') EastUS Immersive Reader
172+
button(class="immersive-reader-button" data-button-style="icon" data-locale="en" onclick='handleLaunchImmersiveReader("wus")') WestUS Immersive Reader
173+
button(class="immersive-reader-button" data-button-style="icon" data-locale="en" onclick='handleLaunchImmersiveReader("eus")') EastUS Immersive Reader
174174
175175
h1(id="ir-title") About Immersive Reader
176176
div(id="ir-content" lang="en-us")
@@ -219,15 +219,15 @@ The **getimmersivereaderlaunchparams** API endpoint should be secured behind som
219219
.then(function (response) {
220220
const token = response["token"];
221221
const subdomain = response["subdomain"];
222-
// Learn more about chunk usage and supported MIME types https://docs.microsoft.com/en-us/azure/cognitive-services/immersive-reader/reference#chunk
222+
// Learn more about chunk usage and supported MIME types https://docs.microsoft.com/azure/cognitive-services/immersive-reader/reference#chunk
223223
const data = {
224224
title: $("#ir-title").text(),
225225
chunks: [{
226226
content: $("#ir-content").html(),
227227
mimeType: "text/html"
228228
}]
229229
};
230-
// Learn more about options https://docs.microsoft.com/en-us/azure/cognitive-services/immersive-reader/reference#options
230+
// Learn more about options https://docs.microsoft.com/azure/cognitive-services/immersive-reader/reference#options
231231
const options = {
232232
"onExit": exitCallback,
233233
"uiZIndex": 2000

0 commit comments

Comments
 (0)