Skip to content

Commit

Permalink
:D Updated counters + prod version
Browse files Browse the repository at this point in the history
  • Loading branch information
xem committed Dec 13, 2013
1 parent 7681041 commit 692a728
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
</style>
<a href=//github.com/xem/miniCodeEditor><img style="position:absolute;top:0;right:0;border:0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<h1>MiniCodeEditor<sup> v.1.0</sup></h1>
<h2>An online HTML/CSS/JavaScript code editor in <span>162</span>+ bytes</h2>
<h2>An online HTML/CSS/JavaScript code editor in <span>161</span>+ bytes</h2>
<br>
<pre onclick="location='#custom'" class=intro>&lt;body oninput='e.firstChild.srcdoc=t2[v="value"]+"&lt;script>"+t0[v]+"&lt;\/script>&lt;style>"+t1[v]'onload='for(i=3;i--;)e.innerHTML+="&lt;textarea id=t"+i+">"'id=e>&lt;iframe></pre>
<pre onclick="location='#custom'" class=intro>&lt;body oninput='e.firstChild.srcdoc=t2[v="value"]+"&lt;script>"+t0[v]+"&lt;/script>&lt;style>"+t1[v]'onload='for(i=3;i--;)e.innerHTML+="&lt;textarea id=t"+i+">"'id=e>&lt;iframe></pre>
<br>
<br>
<h4>Inspired by <a href="//codepen.io">Codepen</a>, <a href="//jsfiddle.net">JSFiddle</a> and <a href="//dabblet.com/">dabblet</a><br>golfed by <a href=//twitter.com/MaximeEuziere>xem</a>, <a href=//twitter.com/p01>p01</a></a>, <a href=//twitter.com/subzey>subzey</a>, <a href=//twitter.com/aemkei>aemkei</a>, <b>rlauck</b> and <b>bburky</b></h4>
Expand Down Expand Up @@ -72,11 +72,11 @@ <h3>Source code:</h3>
<b>Version:</b>
<br>
<br>
<label><input type=radio name=version class=version id=minimal checked> Minimal</label> (162 bytes - works on modern browsers) - <a href="minimal.html" id=link>try it</a>
<label><input type=radio name=version class=version id=minimal checked> Minimal</label> (161 bytes - works on modern browsers) - <a href="minimal.html" id=link>try it</a>
<br>
<label><input type=radio name=version class=version id=shareable> Shareable</label> (246 bytes - works on modern browsers, can be shared via the URL) - <a href="shareable.html" id=link>try it</a>
<label><input type=radio name=version class=version id=shareable> Shareable</label> (245 bytes - works on modern browsers, can be shared via the URL) - <a href="shareable.html" id=link>try it</a>
<br>
<label><input type=radio name=version class=version id=complete> Complete</label> (323 bytes - works on all browsers, shareable, with placeholders) - <a href="complete.html" id=link>try it</a>
<label><input type=radio name=version class=version id=complete> Complete</label> (344 bytes - works on all browsers, shareable, with placeholders) - <a href="complete.html" id=link>try it</a>
<br>
<br>
<b>Style:</b>
Expand Down
2 changes: 1 addition & 1 deletion prod/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<body onkeyup='l.hash=[j=t1[v="value"],c=t2[v],h=t3[v]].map(btoa);(D=e.firstChild.contentWindow.document).write(h||c||j?h+"<script>"+j+"<\/script><style>"+c:"<pre>Result");D.close()'onload='for(i=4;--i;e.innerHTML+="<textarea id=t"+i+" placeholder="+[,"JS","CSS","HTML"][i]+" rows=9>"+atob([l.hash.split(/#|,/)[i]]))l=location;e.onkeyup()'id=e><iframe></iframe><style>*{box-sizing:border-box;-moz-box-sizing:border-box;margin:0;vertical-align:top}textarea,iframe{border:1px solid}textarea{resize:none;width:33.3%;height:40%}iframe{width:100%;position:absolute;bottom:0;height:60%}
<body onkeyup='l.hash=[j=t1[v="value"],c=t2[v],h=t3[v]].map(btoa);(D=e.firstChild.contentWindow.document).write(h||c||j?h+"<script>"+j+"</script><style>"+c:"<pre>Result");D.close()'onload='for(i=4;--i;e.innerHTML+="<textarea id=t"+i+" placeholder="+[,"JS","CSS","HTML"][i]+" rows=9>"+atob([l.hash.split(/#|,/)[i]]))l=location;e.onkeyup()'id=e><iframe></iframe><style>*{box-sizing:border-box;-moz-box-sizing:border-box;margin:0;vertical-align:top}textarea,iframe{border:1px solid}textarea{resize:none;width:33.3%;height:40%}iframe{width:100%;position:absolute;bottom:0;height:60%}

0 comments on commit 692a728

Please sign in to comment.