Skip to content

Instantly share code, notes, and snippets.

@Jabher
Created April 11, 2014 07:12
Show Gist options
  • Save Jabher/10445952 to your computer and use it in GitHub Desktop.
Save Jabher/10445952 to your computer and use it in GitHub Desktop.
traceur require by default
require('traceur').require.makeDefault(function(filename){
return filename.endsWith('traceur.js');
});
module.exports = require('./index.traceur.js');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment