Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Aug 31, 2014
1 parent f5359fc commit ace8ccd
Show file tree
Hide file tree
Showing 101 changed files with 238 additions and 237 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
regexpu/vendor/*
.DS_Store
2 changes: 1 addition & 1 deletion LICENSE-MIT.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright Mathias Bynens <http://mathiasbynens.be/>
Copyright Mathias Bynens <https://mathiasbynens.be/>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [Mothereffing web developer tools](http://mothereff.in/)
# [Web developer tools](https://mothereff.in/)

This repository uses separate HTML and external CSS and JS files for clarity.

Expand All @@ -10,4 +10,4 @@ All code in this repository is dual licensed under the MIT/GPL licenses.

You don’t have to do anything special to choose one license or the other and you don’t have to notify anyone which license you are using. You are free to re-use parts of this code in commercial projects as long as the copyright header (as mentioned in `GPL-LICENSE.txt` and `MIT-LICENSE.txt`) is left intact.

Made by [Mathias Bynens](http://mathiasbynens.be/).
Made by [Mathias Bynens](https://mathiasbynens.be/).
6 changes: 3 additions & 3 deletions ampersands/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [Mothereffing ambiguous ampersands](http://mothereff.in/ampersands)
# [Ambiguous ampersands](https://mothereff.in/ampersands)

See <http://mathiasbynens.be/notes/ambiguous-ampersands> for the full explanation.
See <https://mathiasbynens.be/notes/ambiguous-ampersands> for the full explanation.

Made by [Mathias Bynens](http://mathiasbynens.be/).
Made by [Mathias Bynens](https://mathiasbynens.be/).
4 changes: 2 additions & 2 deletions ampersands/eff.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
regexCharacterReference = /&([0-9a-zA-Z]+);/g,
regexCharacterReferencesThatHaveASemicolonFreeCharacterReferenceAsSubstring,
regexNoSemi,
// http://mathiasbynens.be/notes/localstorage-pattern
// https://mathiasbynens.be/notes/localstorage-pattern
storage = (function() {
var uid = new Date,
storage,
Expand Down Expand Up @@ -2245,7 +2245,7 @@
storage && (storage.ampersandText = value);
};

// http://mathiasbynens.be/notes/oninput
// https://mathiasbynens.be/notes/oninput
textarea.onkeyup = update;
textarea.oninput = function() {
textarea.onkeyup = null;
Expand Down
8 changes: 4 additions & 4 deletions ampersands/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ <h1>Ambiguous ampersand checker for HTML</h1>
<noscript><strong>To use this tool, please <a href=http://enable-javascript.com/>enable JavaScript</a> and reload the page.</strong></noscript>
<p><textarea autofocus>foo &amp;lolwat; bar &amp;123; baz</textarea>
<div id=output class=fail><p><a href=#foo%20%26lolwat%3B%20bar%20%26123%3B%20baz>#</a> Found 2 ambiguous ampersands:<ul><li><code>&amp;lolwat;</code><li><code>&amp;123;</code></ul><p>Found no character references that don’t end with a semicolon.</div>
<p>See <a href=http://mathiasbynens.be/notes/ambiguous-ampersands>“Ambiguous ampersands in HTML”</a>:
<blockquote cite=http://mathiasbynens.be/notes/ambiguous-ampersands><p>To summarize: there’s a difference between unencoded ampersands (sometimes valid), ambiguous ampersands (always invalid) and encoded ampersands (always valid). An unencoded ampersand is not always an ambiguous ampersand. An unambiguous ampersand can still be invalid.</blockquote>
<p>For more information, <a href=http://mathiasbynens.be/notes/ambiguous-ampersands title="Ambiguous ampersands in HTML">read the whole thing</a>.
<p>See <a href=https://mathiasbynens.be/notes/ambiguous-ampersands>“Ambiguous ampersands in HTML”</a>:
<blockquote cite=https://mathiasbynens.be/notes/ambiguous-ampersands><p>To summarize: there’s a difference between unencoded ampersands (sometimes valid), ambiguous ampersands (always invalid) and encoded ampersands (always valid). An unencoded ampersand is not always an ambiguous ampersand. An unambiguous ampersand can still be invalid.</blockquote>
<p>For more information, <a href=https://mathiasbynens.be/notes/ambiguous-ampersands title="Ambiguous ampersands in HTML">read the whole thing</a>.
<p>Note that this tool treats all ampersands as if they were used as text, i.e. outside of an attribute value and outside of <code>&lt;script></code> or <code>&lt;style></code> elements. Browsers parse ampersands differently when they’re part of an attribute value. For example, the ampersand in <code>&lt;a href="&ampfoo;"></code> is an ambiguous ampersand, rather than a parsed entity without a semicolon (which is what this tool would report). The ampersand in <code>&lt;script>"&ampfoo;"&lt;/script></code> is neither.
<p id=footer>Made by <a href=http://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in>fork this on GitHub!</a></p>
<p id=footer>Made by <a href=https://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in>fork this on GitHub!</a></p>
<script src=eff.js></script>
6 changes: 3 additions & 3 deletions bacon/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [Bacon’s cipher encoder/decoder](http://mothereff.in/bacon)
# [Bacon’s cipher encoder/decoder](https://mothereff.in/bacon)

This tool can be used to encode/decode any text using Bacon’s cipher. It uses [_bacon-cipher_](http://mths.be/bacon) under the hood.
This tool can be used to encode/decode any text using Bacon’s cipher. It uses [_bacon-cipher_](https://mths.be/bacon) under the hood.

Made by [Mathias Bynens](http://mathiasbynens.be/).
Made by [Mathias Bynens](https://mathiasbynens.be/).
4 changes: 2 additions & 2 deletions bacon/eff.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
var use24 = radios[0];
var use26 = radios[1];
var permalink = document.getElementById('permalink');
// http://mathiasbynens.be/notes/localstorage-pattern
// https://mathiasbynens.be/notes/localstorage-pattern
var storage = (function() {
var uid = new Date;
var storage;
Expand Down Expand Up @@ -45,7 +45,7 @@
storage && (storage.bacon = value);
};

// http://mathiasbynens.be/notes/oninput
// https://mathiasbynens.be/notes/oninput
decoded.onkeyup = encoded.onkeyup = use24.onchange = use26.onchange = update;
decoded.oninput = encoded.oninput = use24.onchange = use26.onchange = function() {
decoded.onkeyup = encoded.onkeyup = null;
Expand Down
4 changes: 2 additions & 2 deletions bacon/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h2>Ciphertext: (<a href=#I%20shot%20the%20sheriff id=permalink>permalink</a>)</
<div><label><input name=alphabet type=radio checked> use the common 24-letter cipher alphabet <code>ABCDEFGHIKLMNOPQRSTUWXYZ</code></label></div>
<div><label><input name=alphabet type=radio> use the full alphabet of 26 letters <code>ABCDEFGHIJKLMNOPQRSTUVWXYZ</code></label></div>
<h2>About this tool</h2>
<p>This tool uses <a href=http://mths.be/bacon><i>bacon-cipher</i></a> to encode any string you enter in the ‘plaintext’ field, or to decode any Bacon-encoded ciphertext you enter in the other field.
<p id=footer>Made by <a href=http://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in/tree/master/bacon>fork this on GitHub!</a></p>
<p>This tool uses <a href=https://mths.be/bacon><i>bacon-cipher</i></a> to encode any string you enter in the ‘plaintext’ field, or to decode any Bacon-encoded ciphertext you enter in the other field.
<p id=footer>Made by <a href=https://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in/tree/master/bacon>fork this on GitHub!</a></p>
<script src=vendor/bacon.js></script>
<script src=eff.js></script>
2 changes: 1 addition & 1 deletion bacon/vendor/bacon.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! http://mths.be/bacon v0.1.0 by @mathias | MIT license */
/*! https://mths.be/bacon v0.1.0 by @mathias | MIT license */
;(function(root) {

// Detect free variables `exports`
Expand Down
4 changes: 2 additions & 2 deletions base64/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [Base64 encoder/decoder](http://mothereff.in/base64)
# [Base64 encoder/decoder](https://mothereff.in/base64)

Convert any Unicode string to its Base64-encoded form, and the other way around.

Made by [Mathias Bynens](http://mathiasbynens.be/).
Made by [Mathias Bynens](https://mathiasbynens.be/).
4 changes: 2 additions & 2 deletions base64/eff.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
permalink = document.getElementById('permalink'),
regexBase64 = /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/,
regexWhitespace = /\s/g,
// http://mathiasbynens.be/notes/localstorage-pattern
// https://mathiasbynens.be/notes/localstorage-pattern
storage = (function() {
var uid = new Date,
storage,
Expand Down Expand Up @@ -75,7 +75,7 @@
storage && (storage.base64 = unicodeString);
};

// http://mathiasbynens.be/notes/oninput
// https://mathiasbynens.be/notes/oninput
unicode.onkeyup = base64.onkeyup = update;
unicode.oninput = base64.oninput = function() {
unicode.onkeyup = base64.onkeyup = null;
Expand Down
2 changes: 1 addition & 1 deletion base64/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ <h2>Unicode (<a href=#foo%20%E2%99%A5%20bar id=permalink>permalink</a>)</h2>
<h2>base64</h2>
<!-- textarea@pattern is invalid HTML :( https://www.w3.org/Bugs/Public/show_bug.cgi?id=15291 -->
<textarea pattern="(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?">Zm9vIOKZpSBiYXI=</textarea>
<p id=footer>Made by <a href=http://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in/tree/master/base64>fork this on GitHub!</a></p>
<p id=footer>Made by <a href=https://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in/tree/master/base64>fork this on GitHub!</a></p>
<script src=eff.js></script>
4 changes: 2 additions & 2 deletions bgcolor/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [Legacy HTML color value previewer](http://mothereff.in/bgcolor)
# [Legacy HTML color value previewer](https://mothereff.in/bgcolor)

Wondering what a given legacy HTML color value looks like? This tool will show you.

Another Extremely Useful™ tool made by [Mathias Bynens](http://mathiasbynens.be/).
Another Extremely Useful™ tool made by [Mathias Bynens](https://mathiasbynens.be/).
4 changes: 2 additions & 2 deletions bgcolor/eff.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
var result = document.getElementById('result');
var example = document.getElementById('example');
var permalink = document.getElementById('permalink');
// http://mathiasbynens.be/notes/localstorage-pattern
// https://mathiasbynens.be/notes/localstorage-pattern
var storage = (function() {
var uid = new Date;
var storage;
Expand Down Expand Up @@ -40,7 +40,7 @@
storage && (storage.bgColor = value);
}

// http://mathiasbynens.be/notes/oninput
// https://mathiasbynens.be/notes/oninput
input.onkeyup = update;
input.oninput = function() {
input.onkeyup = null;
Expand Down
2 changes: 1 addition & 1 deletion bgcolor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ <h1>Legacy HTML color value previewer</h1>
<noscript><strong>To use this tool, please <a href=http://enable-javascript.com/>enable JavaScript</a> and reload the page.</strong></noscript>
<pre><code><span class=sc2>&lt;<span class=element>body</span> <span class=attribute>bgcolor</span><span class=symbol>=</span><span class=quote><b>"</b><div contenteditable id=input>chucknorris</div><b>"</b></span>><a href=#chucknorris id=permalink>permalink</a>, <a href="data:text/html;charset=utf-8,<body bgcolor=chucknorris>" id=example>example</a>&lt;<span class=symbol>/</span><span class=element>body</span>></code></pre>
<iframe id=result srcdoc="<body bgcolor=&quot;chucknorris&quot;>"></iframe>
<p id=footer>Made by <a href=http://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in/tree/master/bgcolor>fork this on GitHub!</a></p>
<p id=footer>Made by <a href=https://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in/tree/master/bgcolor>fork this on GitHub!</a></p>
<script src=eff.js></script>
10 changes: 5 additions & 5 deletions bgcolor/tools/parse.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/usr/bin/python
# By Yusuke Suzuki <[email protected]>
# Modified by Mathias Bynens <http://mathiasbynens.be/>
# Modified by Mathias Bynens <https://mathiasbynens.be/>
# http://code.google.com/p/esprima/issues/detail?id=110

import sys
import string
import re

# http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
# https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
def highSurrogate(codePoint):
return int(math.floor((codePoint - 0x10000) / 0x400) + 0xD800)

Expand All @@ -16,12 +16,12 @@ def lowSurrogate(codePoint):

def codePointToString(codePoint):
if codePoint == 0:
string = '\\0' # http://mathiasbynens.be/notes/javascript-escapes#single
string = '\\0' # https://mathiasbynens.be/notes/javascript-escapes#single
elif (codePoint >= 0x41 and codePoint <= 0x5A) or (codePoint >= 0x61 and codePoint <= 0x7A) or (codePoint >= 0x30 and codePoint <= 0x39): # [a-zA-Z0-9]
string = chr(codePoint)
elif codePoint <= 0xFF: # http://mathiasbynens.be/notes/javascript-escapes#hexadecimal
elif codePoint <= 0xFF: # https://mathiasbynens.be/notes/javascript-escapes#hexadecimal
string = '\\x' + '%02X' % codePoint
elif codePoint <= 0xFFFF: # http://mathiasbynens.be/notes/javascript-escapes#unicode
elif codePoint <= 0xFFFF: # https://mathiasbynens.be/notes/javascript-escapes#unicode
string = '\\u' + '%04X' % codePoint
else: # surrogate pairs
string = '\\u' + '%04X' % highSurrogate(codePoint) + '\\u' + '%04X' % lowSurrogate(codePoint)
Expand Down
4 changes: 2 additions & 2 deletions binary-ascii/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [Mothereffing binary ↔ ASCII text converter](http://mothereff.in/binary-ascii)
# [Binary ↔ ASCII text converter](https://mothereff.in/binary-ascii)

Convert binary digits to extended ASCII text and the other way around.

Made by [Mathias Bynens](http://mathiasbynens.be/).
Made by [Mathias Bynens](https://mathiasbynens.be/).
4 changes: 2 additions & 2 deletions binary-ascii/eff.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
regexAnyCharacter = /[\s\S]/g,
regexBinary = /^(\s*[01]{8}\s*)*$/,
regexExtendedASCII = /^[\x00-\xff]*$/,
// http://mathiasbynens.be/notes/localstorage-pattern
// https://mathiasbynens.be/notes/localstorage-pattern
storage = (function() {
var uid = new Date,
storage,
Expand Down Expand Up @@ -68,7 +68,7 @@
storage && (storage.ascii = value);
};

// http://mathiasbynens.be/notes/oninput
// https://mathiasbynens.be/notes/oninput
ascii.onkeyup = binary.onkeyup = update;
ascii.oninput = binary.oninput = function() {
ascii.onkeyup = binary.onkeyup = null;
Expand Down
2 changes: 1 addition & 1 deletion binary-ascii/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ <h2>Extended ASCII (<a href=#Here%20be%20secret%20messages!!1 id=permalink>perma
<textarea pattern="[\x00-\xFF]*" autofocus>Here be secret messages!!1</textarea>
<h2>Binary</h2>
<textarea pattern="(\s*[01]{8}\s*)*">0100100001100101011100100110010100100000011000100110010100100000011100110110010101100011011100100110010101110100001000000110110101100101011100110111001101100001011001110110010101110011001000010010000100110001</textarea>
<p id=footer>Made by <a href=http://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in/tree/master/binary-ascii>fork this on GitHub!</a></p>
<p id=footer>Made by <a href=https://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in/tree/master/binary-ascii>fork this on GitHub!</a></p>
<script src=eff.js></script>
4 changes: 2 additions & 2 deletions brainfuck-minifier/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# [Mothereffing brainfuck minifier](http://mothereff.in/brainfuck-minifier)
# [Brainfuck minifier](https://mothereff.in/brainfuck-minifier)

[Brainfuck](http://esolangs.org/wiki/Brainfuck) _(not capitalized except at the start of a sentence)_ is an esoteric programming language. It has eight commands — `+-<>[],.` — and ignores all other characters. As a result, no special syntax for comments is needed, as long as the comments don’t contain the command characters.

This tool will automatically remove comments from any brainfuck snippet you enter.

Made by [Mathias Bynens](http://mathiasbynens.be/).
Made by [Mathias Bynens](https://mathiasbynens.be/).
6 changes: 3 additions & 3 deletions brainfuck-minifier/eff.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
ratio = dds[2],
regexNotBrainfuck = /[^\+\-<>\[\],\.]/g,
regexNumberGroup = /(?=(?:\d{3})+$)(?!\b)/g,
// http://mathiasbynens.be/notes/localstorage-pattern
// https://mathiasbynens.be/notes/localstorage-pattern
storage = (function() {
var uid = new Date,
storage,
Expand All @@ -25,7 +25,7 @@
}()),
characterReferences;

// Taken from http://mths.be/punycode
// Taken from https://mths.be/punycode
function ucs2decode(string) {
var output = [],
counter = 0,
Expand Down Expand Up @@ -89,7 +89,7 @@
storage && (storage.brainfuck = value);
};

// http://mathiasbynens.be/notes/oninput
// https://mathiasbynens.be/notes/oninput
textarea.onkeyup = update;
textarea.oninput = function() {
textarea.onkeyup = null;
Expand Down
2 changes: 1 addition & 1 deletion brainfuck-minifier/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ <h2>Minified result (<a href=#%E2%82%AC id=permalink>permalink</a>)</h2>
</dl>
<h2>About brainfuck</h2>
<p><a href=http://esolangs.org/wiki/Brainfuck>Brainfuck</a> <i>(not capitalized except at the start of a sentence)</i> is an esoteric programming language. It has eight commands — <code>+-&lt;>[],.</code> — and ignores all other characters. As a result, no special syntax for comments is needed, as long as the comments don’t contain the command characters.
<p id=footer>Made by <a href=http://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in/tree/master/brainfuck-minifier>fork this on GitHub!</a></p>
<p id=footer>Made by <a href=https://mathiasbynens.be/>@mathias</a><a href=https://github.com/mathiasbynens/mothereff.in/tree/master/brainfuck-minifier>fork this on GitHub!</a></p>
<script src=eff.js></script>
4 changes: 2 additions & 2 deletions byte-counter/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# [String length and UTF-8 byte counter](http://mothereff.in/byte-counter)
# [String length and UTF-8 byte counter](https://mothereff.in/byte-counter)

Made by [Mathias Bynens](http://mathiasbynens.be/).
Made by [Mathias Bynens](https://mathiasbynens.be/).
6 changes: 3 additions & 3 deletions byte-counter/eff.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
bytes = document.getElementById('bytes'),
permalink = document.getElementById('permalink'),
regexNumberGroup = /(?=(?:\d{3})+$)(?!\b)/g,
// http://mathiasbynens.be/notes/localstorage-pattern
// https://mathiasbynens.be/notes/localstorage-pattern
storage = (function() {
var uid = new Date,
storage,
Expand All @@ -18,7 +18,7 @@
} catch(e) {}
}());

// Taken from http://mths.be/punycode
// Taken from https://mths.be/punycode
function ucs2decode(string) {
var output = [],
counter = 0,
Expand Down Expand Up @@ -67,7 +67,7 @@
storage && (storage.byteCountText = value);
};

// http://mathiasbynens.be/notes/oninput
// https://mathiasbynens.be/notes/oninput
textarea.onkeyup = update;
textarea.oninput = function() {
textarea.onkeyup = null;
Expand Down
4 changes: 2 additions & 2 deletions byte-counter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1>UTF-8 string length & byte counter</h1>
<noscript><strong>To use this tool, please <a href=http://enable-javascript.com/>enable JavaScript</a> and reload the page.</strong></noscript>
<p><textarea autofocus>i ♥ u</textarea>
<p>That’s <strong id=characters>5 characters</strong>, totaling <strong id=bytes>7 bytes</strong>. <a href=#%E2%82%AC id=permalink>#</a>
<p>Pro tip: add <code>http://mothereff.in/byte-counter#<var>%s</var></code> to the custom search engines / location bar shortcuts in your browser of choice. Whenever I want to check string length / byte count, I just enter <code>len <var>some string</var></code> in my address bar.
<p id=footer>Made by <a href=http://mathiasbynens.be/>@mathias</a><a href=http://mths.be/utf8js>powered by utf8.js</a><a href=https://github.com/mathiasbynens/mothereff.in>fork this on GitHub!</a></p>
<p>Pro tip: add <code>https://mothereff.in/byte-counter#<var>%s</var></code> to the custom search engines / location bar shortcuts in your browser of choice. Whenever I want to check string length / byte count, I just enter <code>len <var>some string</var></code> in my address bar.
<p id=footer>Made by <a href=https://mathiasbynens.be/>@mathias</a><a href=https://mths.be/utf8js>powered by utf8.js</a><a href=https://github.com/mathiasbynens/mothereff.in>fork this on GitHub!</a></p>
<script src=vendor/utf8.js></script>
<script src=eff.js></script>
2 changes: 1 addition & 1 deletion byte-counter/vendor/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

cd "$(dirname "${BASH_SOURCE}")"

curl -# "https://raw.github.com/mathiasbynens/utf8.js/master/utf8.js" > utf8.js
curl -# "https://raw.githubusercontent.com/mathiasbynens/utf8.js/master/utf8.js" > utf8.js

cat "utf8.js" "../eff.js" > "/tmp/byte-counter.js"
echo "Copying concatenated JS to pasteboard..."
Expand Down
Loading

0 comments on commit ace8ccd

Please sign in to comment.