Skip to content

Commit

Permalink
debug EXAMPLE 7 (#511)
Browse files Browse the repository at this point in the history
SHA: e20eb63
Reason: push, by mfoltzgoogle

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
youkinjoh and github-actions[bot] committed Jan 19, 2023
1 parent fca638f commit f4b421c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1048,10 +1048,10 @@ <h1 id="title" class="title">Presentation API</h1>
<a class="self-link" href="#example-7">Example<bdi> 7</bdi></a>
</div> <pre aria-busy="false"><code class="hljs xml"><span class="hljs-comment">&lt;!-- controller.html --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">script</span>&gt;</span><span class="javascript">
connection.send(<span class="hljs-string">"{string: '你好,世界!', lang: 'zh-CN'}"</span>);
connection.send(<span class="hljs-string">"{string: 'こんにちは、世界!', lang: 'ja'}"</span>);
connection.send(<span class="hljs-string">"{string: '안녕하세요, 세계!', lang: 'ko'}"</span>);
connection.send(<span class="hljs-string">"{string: 'Hello, world!', lang: 'en-US'}"</span>);
connection.send(<span class="hljs-string">'{"string": "你好,世界!", "lang": "zh-CN"}'</span>);
connection.send(<span class="hljs-string">'{"string": "こんにちは、世界!", "lang": "ja"}'</span>);
connection.send(<span class="hljs-string">'{"string": "안녕하세요, 세계!", "lang": "ko"}'</span>);
connection.send(<span class="hljs-string">'{"string": "Hello, world!", "lang": "en-US"}'</span>);
</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>

<span class="hljs-comment">&lt;!-- presentation.html --&gt;</span>
Expand All @@ -1061,7 +1061,7 @@ <h1 id="title" class="title">Presentation API</h1>
<span class="hljs-keyword">var</span> spanElt = <span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">"SPAN"</span>);
spanElt.lang = messageObj.lang;
spanElt.textContent = messageObj.string;
<span class="hljs-built_in">document</span>.appendChild(spanElt);
<span class="hljs-built_in">document</span>.body.appendChild(spanElt);
};
</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span></code></pre>
</div>
Expand Down

0 comments on commit f4b421c

Please sign in to comment.