How to use the traceur/package.version function in traceur

To help you get started, we’ve selected a few traceur examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fhinkel / six-speed / tasks / report.js View on Github external
familyTags.sort().map(function(tag) {
        return {name: _.capitalize(tag), selector: 'js-family-' + tag};
      })),
    implementations: implementations
  };



  var template = Handlebars.compile(Fs.readFileSync(__dirname + '/report.handlebars').toString());
  return template({
    browsers: browsers,
    tests: tests,
    date: new Date().toLocaleDateString(),
    babelVersion: Babel.version,
    babelRuntimeVersion: BabelRuntimePackage.version,
    traceurVersion: TraceurPackage.version,

    reportData: JSON.stringify(reportData)
  });
}