config.formatter.format = '@' + config.type;
}
+ // Early properties
+ this.type = config.type;
+
// Parent constructor
mw.widgets.datetime.DateTimeInputWidget[ 'super' ].call( this, config );
OO.ui.mixin.PendingElement.call( this, config );
// Properties
- this.type = config.type;
this.$handle = $( '<span>' );
this.$fields = $( '<span>' );
this.fields = [];