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

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

Issue 256553002: Revert "Update all Angular libs (run update_all.sh)." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « third_party/pkg/angular/karma-parser-generator/index.js ('k') | third_party/pkg/angular/karma-perf.conf.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/angular/karma-parser-generator/preprocessor.js
diff --git a/third_party/pkg/angular/karma-parser-getter-setter/preprocessor.js b/third_party/pkg/angular/karma-parser-generator/preprocessor.js
similarity index 53%
copy from third_party/pkg/angular/karma-parser-getter-setter/preprocessor.js
copy to third_party/pkg/angular/karma-parser-generator/preprocessor.js
index 866eb8354a409c5f241c2ecdfe5e7ab8f89d60ca..4951aa932a77a7b066a7b4f54480733591af74df 100644
--- a/third_party/pkg/angular/karma-parser-getter-setter/preprocessor.js
+++ b/third_party/pkg/angular/karma-parser-generator/preprocessor.js
@@ -10,15 +10,13 @@ var generateParser = function(logger) {
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);
- });
+ 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);
+ });
});
}
}
« no previous file with comments | « third_party/pkg/angular/karma-parser-generator/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