Index: third_party/pkg/angular/karma-parser-getter-setter/preprocessor.js |
diff --git a/third_party/pkg/angular/karma-parser-getter-setter/preprocessor.js b/third_party/pkg/angular/karma-parser-getter-setter/preprocessor.js |
deleted file mode 100644 |
index 866eb8354a409c5f241c2ecdfe5e7ab8f89d60ca..0000000000000000000000000000000000000000 |
--- a/third_party/pkg/angular/karma-parser-getter-setter/preprocessor.js |
+++ /dev/null |
@@ -1,26 +0,0 @@ |
-var fs = require('fs'); |
-var sys = require('sys'); |
-var exec = require('child_process').exec; |
- |
-var generateParser = function(logger) { |
- var log = logger.create('generate-parser'); |
- return function(content, file, done) { |
- log.info('Generating parser for parser test: %s', file.originalPath); |
- |
- fs.readFile(file.originalPath, function(err, data) { |
- if (err) throw err; |
- |
- exec( |
- 'dart --checked bin/parser_generator_for_spec.dart getter-setter', |
- function(err, stdout, stderr) { |
- if (err) throw err; |
- data = data.toString(); |
- data = data.replace(/^.* \/\/ REMOVE$/m, ''); |
- data = data.replace(/_template;/, '_generated;'); |
- done(data + '\n\n' + stdout); |
- }); |
- }); |
- } |
-} |
- |
-module.exports = generateParser; |