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

Unified Diff: third_party/pkg/angular/karma-parser-getter-setter/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-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;
« no previous file with comments | « third_party/pkg/angular/karma-parser-getter-setter/index.js ('k') | third_party/pkg/angular/karma-perf.conf.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698