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
define(["require", "exports", "module"], function (require, exports, module) { | |
"use strict"; | |
/* | |
* requirejs support in tern | |
*/ | |
var ternRequire = window.require.config({ | |
"baseUrl": require.toUrl("./tern/"), | |
"paths": { | |
"acorn": "node_modules/acorn" |
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
/** | |
* Brackets Themse Copyright (c) 2014 Miguel Castillo. | |
* | |
* Licensed under MIT | |
*/ | |
define(function (require, exports, module) { | |
"use strict"; |
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> | |
<script> | |
document.title = "From the 90s"; | |
document.writeln("It has been a long time"); | |
</script> | |
</head> | |
<body> | |
Welcome back Netscape! |
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> | |
<script> | |
document.title = "From the 90s - Contact"; | |
document.writeln("It has been a long time"); | |
document.writeln("Contacts"); | |
document.writeln("Terminator"); | |
document.writeln("Predator"); | |
document.writeln("Robocop"); | |
</script> |
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> | |
<script src="app.js"></script> | |
<script src="common.js"></script> | |
<script src="utils.js"></script> | |
<script src="contacts.js"></script> | |
<script src="hiring.js"></script> | |
</head> | |
<body> |
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
define(function() { | |
return { | |
"hello": "world"; | |
}; | |
}); |
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
define([ | |
"simple" | |
], function( simple ){ | |
console.log( simple.hello ); | |
}) |
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 Module = (function() { | |
var message = "Hello World" | |
function greetings() { | |
return console.log(message); | |
} | |
return { | |
greetings: greetings | |
}; |
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
define(function() { | |
var message = "Hello World" | |
function greetings() { | |
return console.log(message); | |
} | |
return { | |
greetings: greetings | |
}; |
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
define( ["greetings"], function( greetings ) { | |
greetings.greetings(); | |
}); |
OlderNewer