Object(...) is not a function - SpinnerDialog

On running the this.spinnerDialog.show(); this error pops

Object(…) is not a function