From e46b6cbe74db250d743e7f194bfc7514529a82cc Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 16 Sep 2008 22:07:44 +0000 Subject: New: *JavaScript Scanner* (closes #23). * It's quite good and fast, but still a beta. * I included Prototype and script.aculo.us as example code for testing. More changes: * Added two new token classes, :keyword and :key, along with CSS styles. ** Actually, we should use :keyword for most scanners that now use :reserved. * HTML Encoder: The CSS parser understands multiple selectors separated by commas. --- lib/coderay/scanner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/scanner.rb') diff --git a/lib/coderay/scanner.rb b/lib/coderay/scanner.rb index d33e2f2..a28f70f 100644 --- a/lib/coderay/scanner.rb +++ b/lib/coderay/scanner.rb @@ -77,7 +77,7 @@ module CodeRay else @file_extension ||= plugin_id.to_s end - end + end end -- cgit v1.2.1