Last active
September 10, 2018 05:39
-
-
Save newhouseb/6556a0af2c15a21019cfa79793329941 to your computer and use it in GitHub Desktop.
Hello World Examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="metadata" style="display: none;" data-gist="6556a0af2c15a21019cfa79793329941"></div> | |
<div data-lang="md" data-visibility="output" data-autorun="false" class="block"> | |
<pre class="source hljs coffeescript" contenteditable="true"><span class="hljs-comment"># Hello World I am a gist hopefully!!!!!!!</span> | |
FOOOOBAR 1234<br>wtf<br><br>woweeee<br><div>huh!!!!</div><div> | |
Here <span class="hljs-keyword">is</span> some exposition</div></pre> | |
<div class=""><h1 id="helloworldiamagisthopefully">Hello World I am a gist hopefully!!!!!!!</h1> | |
<p>FOOOOBAR 1234 | |
wtf</p> | |
<p>woweeee | |
huh!!!!</p> | |
<p>Here is some exposition</p></div> | |
</div><div data-lang="js" data-visibility="source" data-autorun="true" class="block"> | |
<pre class="source hljs cs" contenteditable="true">console.log(<span class="hljs-string">"Hello World"</span>); | |
bar = { | |
_count: <span class="hljs-number">1</span>, | |
<span class="hljs-function"><span class="hljs-keyword">set</span> <span class="hljs-title">count</span>(<span class="hljs-params"><span class="hljs-keyword">value</span></span>) </span>{ | |
<span class="hljs-keyword">this</span>._count = <span class="hljs-keyword">value</span>; | |
<span class="hljs-keyword">this</span>.render(); | |
}, | |
<span class="hljs-function"><span class="hljs-keyword">get</span> <span class="hljs-title">count</span>(<span class="hljs-params"></span>) </span>{ | |
<span class="hljs-keyword">return</span> <span class="hljs-keyword">this</span>._count; | |
}, | |
render: function() { | |
<span class="hljs-keyword">return</span> <span class="hljs-keyword">this</span>.count; | |
} | |
}</pre> | |
<div class="output">1</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment