2015-06-30 18:12:12 -04:00
|
|
|
export default Ember.TextField.extend({
|
|
|
|
value: function(key, value, previousValue) {
|
|
|
|
if (arguments.length > 1) {
|
|
|
|
this.get('params')[this.get('pname')] = value;
|
|
|
|
}
|
|
|
|
return this.get('params')[this.get('pname')];
|
2015-06-30 22:51:38 -04:00
|
|
|
}.property('params', 'pname')
|
2015-06-30 18:12:12 -04:00
|
|
|
});
|