If I open a protected page such as this wich I cannot edit, I get the following error:
Uncaught TypeError: Cannot read property 'modules' of undefined
from the line
$.wikiEditor.modules.codeEditor = {
of CodeEditor/modules/jquery.codeEditor.js and also
Uncaught TypeError: Object [object Object] has no method 'wikiEditor'
from line
$( '#wpTextbox1' ).wikiEditor( 'addModule', 'codeEditor' );