update translations

This commit is contained in:
Luke Pulverenti 2015-07-08 20:20:01 -04:00
parent 8030454e19
commit 22586c7a8f
41 changed files with 17432 additions and 17417 deletions

View file

@ -25,7 +25,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
},
listeners: {
'iron-form-element-register': '_elementRegistered'
'iron-form-element-register': '_elementRegistered',
'iron-form-element-unregister': '_elementUnregistered'
},
ready: function() {
@ -34,7 +35,16 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
_elementRegistered: function(e) {
this.formElements.push(e.target);
this.fire('element-registered');
},
_elementUnregistered: function(e) {
var target = e.detail.target;
if (target) {
var index = this.formElements.indexOf(target);
if (index > -1) {
this.formElements.splice(index, 1);
}
}
}
});