Front end of the Slack clone application.

123456789101112131415161718
  1. #!/usr/bin/env node
  2. // This script should reprint the contents of the given file without
  3. // reusing the original source, but with identical AST structure.
  4. var recast = require("recast");
  5. recast.run(function(ast, callback) {
  6. recast.visit(ast, {
  7. visitNode: function(path) {
  8. this.traverse(path);
  9. path.node.original = null;
  10. }
  11. });
  12. callback(ast);
  13. });