Removed broken editor data binding.

The attribute binding was replaced a while ago with lazy property
setting, for performance reasons. Also added a default state for the
data property.
This commit is contained in:
Oliver Hamlet
2015-01-05 11:18:58 +00:00
parent ef8b9873af
commit 0348cd3866
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ loot-clear-metadata
<content select=".tag.remove"></content>
<content></content>
</section>
<loot-plugin-editor id="editor" data="{{data}}"></loot-plugin-editor>
<loot-plugin-editor id="editor"></loot-plugin-editor>
</div>
</template>
<script>
@@ -20,7 +20,7 @@ loot-editor-close
<link rel="import" href="editable-table.html">
<polymer-element name="loot-plugin-editor" attributes="{{data}}">
<polymer-element name="loot-plugin-editor" attributes="data">
<template>
<style>
/* Material Design for non-button icons. */
@@ -236,6 +236,8 @@ loot-editor-close
</template>
<script>
Polymer({
data: undefined,
observe: {
'data.isGlobalPriority': 'onPriorityChange',
'data.modPriority': 'onPriorityChange',