Skip to content

Instantly share code, notes, and snippets.

@hszy00232
Created April 22, 2012 16:42
Show Gist options
  • Select an option

  • Save hszy00232/2465189 to your computer and use it in GitHub Desktop.

Select an option

Save hszy00232/2465189 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 50%;
<!-- content to be placed inside <body>…</body> -->
var mylib = {
primary_functions:{
init:function(){
//write function here
}
},
specific_temp_functions:{
init:function(){
//write function here
}
}
}
$(window).load(function(){
// It's more efficient to load any generic scripts after the HTML has loaded.
mylib.primary_functions.init();
});
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"javascript"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment