summaryrefslogtreecommitdiff
path: root/test/scanners/javascript/suite.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2008-09-16 22:07:44 +0000
committermurphy <murphy@rubychan.de>2008-09-16 22:07:44 +0000
commite46b6cbe74db250d743e7f194bfc7514529a82cc (patch)
tree851e2669d010cddffcad61189055282360cab2fc /test/scanners/javascript/suite.rb
parente7b3056418e54db4361b053a7af030d83e15acf8 (diff)
downloadcoderay-e46b6cbe74db250d743e7f194bfc7514529a82cc.tar.gz
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.
Diffstat (limited to 'test/scanners/javascript/suite.rb')
-rw-r--r--test/scanners/javascript/suite.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/scanners/javascript/suite.rb b/test/scanners/javascript/suite.rb
new file mode 100644
index 0000000..17e2935
--- /dev/null
+++ b/test/scanners/javascript/suite.rb
@@ -0,0 +1,2 @@
+class JavaScript < CodeRay::TestCase
+end