Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: third_party/pkg/angular/karma-parser-generator/preprocessor.js

Issue 1058283006: Update pubspecs and dependencies to get pkgbuild tests working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/angular/karma-parser-generator/preprocessor.js
diff --git a/third_party/pkg/angular/karma-parser-generator/preprocessor.js b/third_party/pkg/angular/karma-parser-generator/preprocessor.js
deleted file mode 100644
index 4951aa932a77a7b066a7b4f54480733591af74df..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/karma-parser-generator/preprocessor.js
+++ /dev/null
@@ -1,24 +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', 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;
« no previous file with comments | « third_party/pkg/angular/karma-parser-generator/index.js ('k') | third_party/pkg/angular/karma-parser-getter-setter/index.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698