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

Unified Diff: sky/framework/sky-element/sky-binder.sky

Issue 807243003: Be more strict about attributes in sky-binder. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix sky-box Created 5 years, 11 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 | « sky/framework/sky-element/element-registry.sky ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/sky-element/sky-binder.sky
diff --git a/sky/framework/sky-element/sky-binder.sky b/sky/framework/sky-element/sky-binder.sky
index b7ae88cabb650ace061f231dcaff2dbf27cadc8a..5a57d724832a57b716b8344038e2df3730988d4b 100644
--- a/sky/framework/sky-element/sky-binder.sky
+++ b/sky/framework/sky-element/sky-binder.sky
@@ -27,12 +27,6 @@ class TemplateInstance {
var emptyInstance = new TemplateInstance();
var directiveCache = new WeakMap();
-(function() {
- var templateRegistration = registry.registerElement('template');
- templateRegistration.defineAttribute('if', 'string');
- templateRegistration.defineAttribute('repeat', 'string');
-})();
-
function createInstance(template, model) {
var content = template.content;
if (!content.firstChild)
« no previous file with comments | « sky/framework/sky-element/element-registry.sky ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698