Created
December 18, 2012 10:52
-
-
Save sirn/4327064 to your computer and use it in GitHub Desktop.
AMD preprocessor for CoffeeScript (experimental)
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
import "foobar" as FooBar | |
import "lorem_ipsum" as LoremIpsum | |
console.log FooBar | |
console.log LoremIpsum |
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 ["foobar", "lorem_ipsum"], (FooBar, LoremIpsum) => | |
console.log FooBar | |
console.log LoremIpsum |
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 _this = this; | |
define(["foobar", "lorem_ipsum"], function(FooBar, LoremIpsum) { | |
console.log(FooBar); | |
return console.log(LoremIpsum); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment