Create gh-pages branch via GitHub
This commit is contained in:
parent
298f82b6fc
commit
59c7ba05e6
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
|||
<h1>
|
||||
<a name="writing-extensions-for-scratch-20" class="anchor" href="#writing-extensions-for-scratch-20"><span class="octicon octicon-link"></span></a>Writing Extensions for Scratch 2.0</h1>
|
||||
|
||||
<p>Writing a Javascript extension for Scratch 2.0 is quite straightforward. Every extension starts with some boilerplate code, which looks like the following:</p>
|
||||
<p>Writing a Javascript extension for Scratch 2.0 starts with some boilerplate code, which looks like the following:</p>
|
||||
|
||||
<div class="highlight highlight-javascript"><pre><span class="k">new</span> <span class="p">(</span><span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
|
||||
<span class="kd">var</span> <span class="nx">ext</span> <span class="o">=</span> <span class="k">this</span><span class="p">;</span>
|
||||
|
|
File diff suppressed because one or more lines are too long
Reference in a new issue