-
-
Save Quby/1065285 to your computer and use it in GitHub Desktop.
Force yourself to learn JavaScript.
This file contains 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
// If you're a glutton for punishment, and/or claim | |
// that JavaScript libraries have too much "bloat", | |
// use this to force yourself to write JS longhand. | |
(function(window) { | |
function screwed() { | |
window.$ = null; | |
window.$A = null; | |
window.$F = null; | |
window.$H = null; | |
window.$R = null; | |
window.$w = null; | |
window.$defined = null; | |
window.$type = null; | |
window.$merge = null; | |
window.$extend = null; | |
window.$native = null; | |
window.$chk = null; | |
window.$pick = null; | |
window.$random = null; | |
window.$time = null; | |
window.$clear = null; | |
window.$$ = null; | |
window.dojo = null; | |
window.Ext = null; | |
window.jQuery = null; | |
window.SC = null; | |
window.YAHOO = null; | |
window.YUI = null; | |
window.Zepto = null; | |
window.setTimeout(screwed, 100); | |
} | |
screwed(); | |
})(this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment