Created
June 4, 2013 20:34
-
-
Save ryankinal/5709353 to your computer and use it in GitHub Desktop.
Fucking solution, motherfucker.
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
<html> | |
<head> | |
<title>DOING SMART STUFF</title> | |
<script src="library.js"></script> | |
</head> | |
<body> | |
<h1>OMG some DOM</h1> | |
<div>Some more elements</div> | |
<script> | |
myLib.start(); | |
</script> | |
</body> | |
</html> |
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
var myLib = { | |
start: function() | |
{ | |
console.log('initializing my fucking library'); | |
console.log('under the assumption that this function will be called at a reasonable time'); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment