From 4002105ad9e339fe6d4fdcc758de5d90567d4c47 Mon Sep 17 00:00:00 2001 From: Elliott Sprehn Date: Thu, 8 Jan 2015 16:52:12 -0800 Subject: [PATCH] console.error when using unknown attributes in templates. Log an error whenever an element has an unknown attribute in a template. This means you can't use generic attributes like Polymer, but we probably want to discourage that anyway since attribute selectors should be avoided for most things. R=ojan@chromium.org Review URL: https://codereview.chromium.org/845523004 --- examples/city-list/city-list.sky | 2 +- examples/widgets/index.sky | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/city-list/city-list.sky b/examples/city-list/city-list.sky index 1d75dc2696..e32112a31e 100644 --- a/examples/city-list/city-list.sky +++ b/examples/city-list/city-list.sky @@ -162,7 +162,7 @@ module.exports.CityItemElement = class extends SkyElement { } -
+
diff --git a/examples/widgets/index.sky b/examples/widgets/index.sky index 8e74c77c71..d4e55c0d10 100644 --- a/examples/widgets/index.sky +++ b/examples/widgets/index.sky @@ -56,6 +56,12 @@