ember.js - Ember.View.reopen() for binding data-* attribute doesn't work any longer since I updated ember version to 1.13.3 -
some code guide
ember.view.reopen({ init: function() { this._super(); var self = this; // bind attributes beginning 'data-' ember.keys(this).foreach(function(key) { if (key.substr(0, 5) === 'data-') { self.get('attributebindings').pushobject(key); } }); } }); not work
even place attributebindings directly
ember.view.reopen({ attributebindings: ['data-some', ...] }); not work
ember.textfield.reopen({ attributebindings: ['data-some', ...], }); work input helper
ember 1.13.3
ember-data 1.13.5
ember-cli 1.13.1
help
do miss something?
edit: looks confirmed regression in 1.13 - https://github.com/emberjs/ember.js/issues/11480
(removed original answer because mistaken)
Comments
Post a Comment