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

Unified Diff: pkg/polymer/lib/src/build/common.dart

Issue 704513004: Update comments about CSP in polymer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/polymer/lib/deploy.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/build/common.dart
diff --git a/pkg/polymer/lib/src/build/common.dart b/pkg/polymer/lib/src/build/common.dart
index 99098f89e6f2d87b4a18ce79c919111f32af26c1..acdd89be6a43c56b54f735e618b9b2f83768c4cd 100644
--- a/pkg/polymer/lib/src/build/common.dart
+++ b/pkg/polymer/lib/src/build/common.dart
@@ -67,17 +67,12 @@ class TransformOptions {
final Map<String, bool> inlineStylesheets;
/// True to enable Content Security Policy.
- /// This means the HTML page will include *.dart.precompiled.js
- ///
- /// This flag has no effect unless [directlyIncludeJS] is enabled.
+ /// This means the HTML page will not have inlined .js code.
final bool contentSecurityPolicy;
/// True to include the compiled JavaScript directly from the HTML page.
/// If enabled this will remove "packages/browser/dart.js" and replace
/// `type="application/dart"` scripts with equivalent *.dart.js files.
- ///
- /// If [contentSecurityPolicy] enabled, this will reference files
- /// named *.dart.precompiled.js.
final bool directlyIncludeJS;
/// Run transformers to create a releasable app. For example, include the
« no previous file with comments | « pkg/polymer/lib/deploy.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698