Skip to content

Instantly share code, notes, and snippets.

@ryankinal
Created June 4, 2013 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryankinal/5709353 to your computer and use it in GitHub Desktop.
Save ryankinal/5709353 to your computer and use it in GitHub Desktop.
Fucking solution, motherfucker.
<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>
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