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

Side by Side Diff: pkg/polymer/lib/transformer.dart

Issue 63173009: Ensure we run the observable transform on PolymerElement (fixes issue 14942) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/pkg.status ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** Transfomer used for pub-serve and pub-deploy. */ 5 /** Transfomer used for pub-serve and pub-deploy. */
6 library polymer.transformer; 6 library polymer.transformer;
7 7
8 import 'package:barback/barback.dart'; 8 import 'package:barback/barback.dart';
9 import 'package:observe/transform.dart'; 9 import 'package:observe/transformer.dart';
10 import 'src/build/code_extractor.dart'; 10 import 'src/build/code_extractor.dart';
11 import 'src/build/import_inliner.dart'; 11 import 'src/build/import_inliner.dart';
12 import 'src/build/script_compactor.dart'; 12 import 'src/build/script_compactor.dart';
13 import 'src/build/polyfill_injector.dart'; 13 import 'src/build/polyfill_injector.dart';
14 import 'src/build/common.dart'; 14 import 'src/build/common.dart';
15 15
16 /** 16 /**
17 * The Polymer transformer, which internally runs several phases that will: 17 * The Polymer transformer, which internally runs several phases that will:
18 * * Extract inlined script tags into their separate files 18 * * Extract inlined script tags into their separate files
19 * * Apply the observable transformer on every Dart script. 19 * * Apply the observable transformer on every Dart script.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 List<List<Transformer>> _createDeployPhases(TransformOptions options) { 67 List<List<Transformer>> _createDeployPhases(TransformOptions options) {
68 return [ 68 return [
69 [new InlineCodeExtractor(options)], 69 [new InlineCodeExtractor(options)],
70 [new ObservableTransformer()], 70 [new ObservableTransformer()],
71 [new ImportInliner(options)], 71 [new ImportInliner(options)],
72 [new ScriptCompactor(options)], 72 [new ScriptCompactor(options)],
73 [new PolyfillInjector(options)] 73 [new PolyfillInjector(options)]
74 ]; 74 ];
75 } 75 }
OLDNEW
« no previous file with comments | « pkg/pkg.status ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698