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

Unified Diff: sky/framework/inspector/dom-agent.sky

Issue 697773002: Remove Element#attributes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix template binding. Created 6 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 | « sky/engine/web/WebElement.cpp ('k') | sky/framework/sky-element/TemplateBinding.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/inspector/dom-agent.sky
diff --git a/sky/framework/inspector/dom-agent.sky b/sky/framework/inspector/dom-agent.sky
index 23cb8f5c6598bd7c2481726fd251ca2acb29710f..b5894442fc49a1854d0412c4e0b4983ab83bce69 100644
--- a/sky/framework/inspector/dom-agent.sky
+++ b/sky/framework/inspector/dom-agent.sky
@@ -32,7 +32,7 @@ DOMAgent.prototype.serializeChildren_ = function(node) {
DOMAgent.prototype.serializeAttributes_ = function(element) {
var attributes = [];
- var attrs = element.attributes;
+ var attrs = element.getAttributes();
for (var i = 0; i < attrs.length; ++i) {
var attr = attrs[i];
attributes.push(attr.name);
« no previous file with comments | « sky/engine/web/WebElement.cpp ('k') | sky/framework/sky-element/TemplateBinding.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698