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
<!-- | |
Author: @fat | |
Translated by: @ignacioiglesias with lots of help from @rtohme. | |
--> | |
<p>Ofrecí este pequeño consejo en twitter.</p> | |
<blockquote class="twitter-quote"> | |
<p>Dejen la escuela o estudien Inglés. Así es como triunfan en | |
javascript</p> | |
— ♒∆✝ (@fat) |
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
// This is my (very) liberal interpretation of | |
// JavaScript Module Pattern: In-Depth by Ben Cherry | |
// http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth | |
"use strict"; | |
var api = (function(a) { | |
// I will use `a` as the API, so let's say I want to add some stuff, | |
// for instance, a logging module. | |
function privateDebugMethod(message) { |
NewerOlder