generic-identity #1

  • //
  • guest/
  • jen_bottom/
  • ember/
  • tutorial/
  • testapp/
  • node_modules/
  • recast/
  • example/
  • generic-identity
  • View
  • Commits
  • Open Download .zip Download (401 B)
#!/usr/bin/env node

// This script should reprint the contents of the given file without
// reusing the original source, but with identical AST structure.

var recast = require("recast");

recast.run(function(ast, callback) {
    recast.visit(ast, {
        visitNode: function(path) {
            this.traverse(path);
            path.node.original = null;
        }
    });

    callback(ast);
});
# Change User Description Committed
#1 23539 jenbottom Adding the basic code for ember test appk, created with 'ember new' command