Why my javascript call function not working?

I try to use jscomponent.callfunction() but it is not working

Code in controller

editor.callFunction(“showNotification”,“test”);

Code in javascript file

tinyMCE = function () {

var connector = this;

tinymce.init({
      selector: 'textarea',
      plugins: 'a11ychecker advcode casechange formatpainter linkchecker autolink lists checklist media mediaembed pageembed permanentpen powerpaste table advtable tinycomments tinymcespellchecker',
      toolbar: 'a11ycheck addcomment showcomments casechange checklist code formatpainter pageembed permanentpen table',
      toolbar_mode: 'floating',
      tinycomments_mode: 'embedded',
      tinycomments_author: 'Author name',
});

connector.showNotification = function (text) {
    window.alert(text);
};

};

Hi,

Open the app with the ?debug option (e.g. http://localhost:8080/app/?debug) and check that no exceptions are thrown.

If you need our help to fix the problem, we’d greatly appreciate if you manage to create a sample project demonstrating the issue.

Regards,
Gleb