Created
April 7, 2014 03:17
-
-
Save copenhas/10014346 to your computer and use it in GitHub Desktop.
A couple of hacks in the Traceur compiler was able to get named AMD modules without the localizing `./`
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("app/router", [], function() { | |
"use strict"; | |
var __moduleName = "app/router"; | |
var Router = Ember.Router.extend({location: 'history'}); | |
Router.map(function() {}); | |
var $__default = Router; | |
return { | |
get default() { | |
return $__default; | |
}, | |
__esModule: true | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/copenhas/traceur-compiler/commits/named.modules