: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
this.element.val( value );
.prop( "disabled", false )
.removeAttr( "autocomplete role aria-valuemin aria-valuemax aria-valuenow" );
this.uiSpinner.replaceWith( this.element );
stepUp: spinnerModifier( function( steps ) {
_stepUp: function( steps ) {
this._spin( ( steps || 1 ) * this.options.step );
stepDown: spinnerModifier( function( steps ) {
_stepDown: function( steps ) {
this._spin( ( steps || 1 ) * -this.options.step );
pageUp: spinnerModifier( function( pages ) {
this._stepUp( ( pages || 1 ) * this.options.page );
pageDown: spinnerModifier( function( pages ) {
this._stepDown( ( pages || 1 ) * this.options.page );
value: function( newVal ) {
if ( !arguments.length ) {
return this._parse( this.element.val() );
spinnerModifier( this._value ).call( this, newVal );
// TODO: switch return back to widget declaration at top of file when this is removed
if ( $.uiBackCompat !== false ) {
// Backcompat for spinner html extension points
$.widget( "ui.spinner", $.ui.spinner, {
this.uiSpinner = this.element
.attr( "autocomplete", "off" )
.wrap( this._uiSpinnerHtml() )
.append( this._buttonHtml() );
_uiSpinnerHtml: function() {
_buttonHtml: function() {