OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 web_components. | 5 /// Contains all error and warning messages produced by web_components. |
6 library web_components.build.messages; | 6 library web_components.build.messages; |
7 | 7 |
8 import 'package:code_transformers/messages/messages.dart'; | 8 import 'package:code_transformers/messages/messages.dart'; |
9 | 9 |
10 const scriptFileNotFound = const MessageTemplate( | 10 const scriptFileNotFound = const MessageTemplate( |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 'Failed to inline HTML import: %-error-%', 'Error while inlining an import', | 59 'Failed to inline HTML import: %-error-%', 'Error while inlining an import', |
60 ''' | 60 ''' |
61 An error occurred while inlining an import in the web_components build. This is | 61 An error occurred while inlining an import in the web_components build. This is |
62 often the result of a broken HTML import. | 62 often the result of a broken HTML import. |
63 | 63 |
64 One possible cause is using an @HtmlImport containing a relative path from | 64 One possible cause is using an @HtmlImport containing a relative path from |
65 within an inline script tag, see http://goo.gl/ZgrhaV. The workaround currently | 65 within an inline script tag, see http://goo.gl/ZgrhaV. The workaround currently |
66 is to use a `package:` url instead, move the code to a dart file, or simply | 66 is to use a `package:` url instead, move the code to a dart file, or simply |
67 adding a real html import (since you are already in an html file). | 67 adding a real html import (since you are already in an html file). |
68 '''); | 68 '''); |
OLD | NEW |