Commits

Michael Shepanski committed ccce038

I was wrong, IE hates commas.

Comments (0)

Files changed (1)

wysiwym/wysiwym.js

         new Wysiwym.Button('Bullet List', Wysiwym.list, {prefix:'* ', wrap:true}),
         new Wysiwym.Button('Number List', Wysiwym.list, {prefix:'# ', wrap:true}),
         new Wysiwym.Button('Quote',  Wysiwym.span,  {prefix:'<blockquote>', suffix:'</blockquote>', text:'quote text'}),
-        new Wysiwym.Button('Code', Wysiwym.span,  {prefix:'<pre>', suffix:'</pre>', text:'code text'}),
+        new Wysiwym.Button('Code', Wysiwym.span,  {prefix:'<pre>', suffix:'</pre>', text:'code text'})
     ];
 
     // Configure auto-indenting
     this.exitindentblankline = true;    // True to insert blank line when exiting auto-indent ;)
     this.autoindents = [                // Regex lookups for auto-indent
         /^\s*\*\s/,                     // Bullet list
-        /^\s*\#\s/,                     // Number list
+        /^\s*\#\s/                      // Number list
     ];
 
     // Syntax items to display in the help box
         new Wysiwym.Button('Italic', Wysiwym.span,  {prefix:"[i]",  suffix:"[/i]",  text:'italic text'}),
         new Wysiwym.Button('Link',   Wysiwym.span,  {prefix:'[url="http://example.com"]',  suffix:'[/url]', text:'link text'}),
         new Wysiwym.Button('Quote',  Wysiwym.span,  {prefix:'[quote]',  suffix:'[/quote]', text:'quote text'}),
-        new Wysiwym.Button('Code',   Wysiwym.span,  {prefix:'[code]',  suffix:'[/code]', text:'code text'}),
+        new Wysiwym.Button('Code',   Wysiwym.span,  {prefix:'[code]',  suffix:'[/code]', text:'code text'})
     ];
 
     // Syntax items to display in the help box