Created
March 10, 2011 17:15
-
-
Save sebmarkbage/864480 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Browser = require('Browser').Browser; | |
var Request; | |
(function(){ | |
Request = Browser.something ? new Class(...) : new Class(...); | |
})(); | |
exports.Request = Request; |
This file contains hidden or 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 'Browser' as {Browser}; | |
var Request; | |
(function(){ | |
Request = Browser.something ? new Class(...) : new Class(...); | |
})(); | |
export Request = Request; |
This file contains hidden or 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
/* | |
--- | |
requires: Browser | |
provides: Request | |
... | |
*/ | |
var Request; | |
(function(){ | |
Request = Browser.something ? new Class(...) : new Class(...); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment