Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 /// Contains all error and warning messages produced by polymer. | 5 /// Contains all error and warning messages produced by polymer. |
| 6 library polymer.src.build.messages; | 6 library polymer.src.build.messages; |
| 7 | 7 |
| 8 import 'package:code_transformers/messages/messages.dart'; | 8 import 'package:code_transformers/messages/messages.dart'; |
| 9 import 'constants.dart'; | 9 import 'constants.dart'; |
| 10 | 10 |
| (...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 532 'Custom element found in document body without an ' | 532 'Custom element found in document body without an ' |
| 533 '"unresolved" attribute on it or one of its parents. This means ' | 533 '"unresolved" attribute on it or one of its parents. This means ' |
| 534 'your app probably has a flash of unstyled content before it ' | 534 'your app probably has a flash of unstyled content before it ' |
| 535 'finishes loading.', | 535 'finishes loading.', |
| 536 'Possible flash of unstyled content', | 536 'Possible flash of unstyled content', |
| 537 ''' | 537 ''' |
| 538 Custom element found in document body without an "unresolved" attribute on it or | 538 Custom element found in document body without an "unresolved" attribute on it or |
| 539 one of its parents. This means your app probably has a flash of unstyled content | 539 one of its parents. This means your app probably has a flash of unstyled content |
| 540 before it finishes loading. See <http://goo.gl/iN03Pj> for more info. | 540 before it finishes loading. See <http://goo.gl/iN03Pj> for more info. |
| 541 '''); | 541 '''); |
| 542 | |
| 543 const CSS_FILE_INLINED_MULTIPLE_TIMES = const MessageTemplate( | |
| 544 const MessageId('polymer', 42), | |
| 545 'A css file is being inlined in multiple places for a single entry point.', | |
|
Siggi Cherem (dart-lang)
2014/09/19 21:13:36
Some ideas:
- 'is being inlined' => 'was inlined'
jakemac
2014/09/19 21:38:16
Added in the %-url-% placeholder, but we can't put
Siggi Cherem (dart-lang)
2014/09/19 22:11:34
Ah, sorry I meant if you wanted to include some de
| |
| 546 'Css file inlined multiple times', | |
| 547 ''' | |
| 548 Css files are inlined by default, but if you import the same one in multiple | |
| 549 places you probably want to override this behavior to prevent duplicate code. | |
| 550 To do this, use the following pattern to update your pubspec.yaml: | |
| 551 | |
| 552 transformers: | |
| 553 - polymer: | |
| 554 inline_stylesheets: | |
| 555 web/my_file.css: false | |
| 556 | |
| 557 If you would like to hide this warning and keep it inlined, do the same thing | |
| 558 but assign the value to true. | |
| 559 ''' | |
| 560 ); | |
| OLD | NEW |