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

Unified Diff: lib/web_component.dart

Issue 11275029: Support for specifying an output directory (issue #106) (Closed) Base URL: git@github.com:dart-lang/dart-web-components.git@master
Patch Set: Created 8 years, 2 months 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 | « lib/src/options.dart ('k') | test/data/input/bind_hyphenated_attribute_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/web_component.dart
diff --git a/lib/web_component.dart b/lib/web_component.dart
index 57fe37374c68c942d35809660cce2af24b113f57..31ae9b39dc3b32f77c3b749a4dc630c860b38363 100644
--- a/lib/web_component.dart
+++ b/lib/web_component.dart
@@ -29,7 +29,7 @@ abstract class WebComponent implements Element {
* Use [WebComponent.forElement] instead.
*/
WebComponent() : _element = null {
- throw new UnsupportedOperationException(
+ throw new UnsupportedError(
'Directly constructing web components is not currently supported. '
'You need to use the WebComponent.forElement constructor to associate '
'a component with its DOM element. If you run "bin/dwc.dart" on your '
« no previous file with comments | « lib/src/options.dart ('k') | test/data/input/bind_hyphenated_attribute_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698