https://bugzilla.wikimedia.org/show_bug.cgi?id=20125
--- Comment #14 from Roan Kattouw <[email protected]> 2009-08-15 10:07:39 UTC --- (In reply to comment #13) > Why not follow some patterns like method invocation in jQuery UI? > > $('#wpTextbox1').wikiEditor('add', { /* options */ }); > > and some more... > > $('#wpTextbox1').wikiEditor('get', { index: 0 }).bind('x-click', > function(event) { // avoid browser's click event > return { /* what to do */ }; > }); > > $('#wpTextbox1').bind('wikiEditorClick', function(event, button) { > return { /* what to do */ }; > }); > I don't know why it wasn't done here, but I am going to use there patterns in my rewrite of mwsuggest.js to a more generic suggestions jQuery plugin. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
