If I disable the option
- [_] Enable enhanced editing toolbar
on Special:Preferences#preftab-3 and go to edit a .js page I get the following errors using Google Chrome 12.0.742.122 on secure server:
Uncaught TypeError: Cannot read property 'modules' of undefined (anonymous function)jquery.codeEditor.js:5 (anonymous function)jquery.codeEditor.js:392
Uncaught TypeError: Object #<Object> has no method 'wikiEditor'
(anonymous function)ext.codeEditor.js:42 jQuery.fn.jQuery.readyload.php:3 (anonymous function)ext.codeEditor.js:40
On Firefox 5, the errors are:
$.wikiEditor is undefined http://toolserver.org/~brion/extensions/CodeEditor/modules/jquery.codeEditor.js Line 5 $.wikiEditor.modules.codeEditor = {
$("#wpTextbox1").wikiEditor is not a function http://toolserver.org/~brion/extensions/CodeEditor/modules/ext.codeEditor.js Line 42 $( '#wpTextbox1' ).wikiEditor( 'addModule', 'codeEditor' );