Skip to content

Instantly share code, notes, and snippets.

@ctrlShiftBryan
Last active January 3, 2016 19:29
Show Gist options
  • Select an option

  • Save ctrlShiftBryan/8508749 to your computer and use it in GitHub Desktop.

Select an option

Save ctrlShiftBryan/8508749 to your computer and use it in GitHub Desktop.
This is a test gist!
public class MyTest{
public string HelloEveryone(){
var x = 1;
return "Hello Everyone";
}
}
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<!-- This is a comment -->
<p>three&amp;&amp;&amp;spaces</p>
</body>
</html>
define(
//The name of this module
'module',
//The array of dependencies
['someOtherModule'],
//The function to execute when all dependencies have loaded. The
//arguments to this function are the array of dependencies mentioned
//above.
function (someOtherModule) {
var load;
load = function(){
var x = 0;
someOtherModule.executeSomething();
console.log('Hello World');
}
return {
load: load
};
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment