OLD | NEW |
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 that finalizes an html file for deployment: | 5 /// Transfomer that finalizes an html file for deployment: |
6 /// - Extracts inline js scripts in csp mode. | 6 /// - Extracts inline js scripts in csp mode. |
7 /// - Inlines css files into the document. | 7 /// - Inlines css files into the document. |
8 /// - Validates polymer-element templates. | 8 /// - Validates polymer-element templates. |
9 library polymer.src.build.html_finalizer; | 9 library polymer.src.build.html_finalizer; |
10 | 10 |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 const IGNORED_LINKED_STYLE_ATTRS = const [ | 324 const IGNORED_LINKED_STYLE_ATTRS = const [ |
325 'charset', | 325 'charset', |
326 'href', | 326 'href', |
327 'href-lang', | 327 'href-lang', |
328 'rel', | 328 'rel', |
329 'rev' | 329 'rev' |
330 ]; | 330 ]; |
331 | 331 |
332 /// Global RegExp objects. | 332 /// Global RegExp objects. |
333 final _BINDING_REGEX = new RegExp(r'(({{.*}})|(\[\[.*\]\]))'); | 333 final _BINDING_REGEX = new RegExp(r'(({{.*}})|(\[\[.*\]\]))'); |
OLD | NEW |