Commit b4bbddbe authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Switch over to RKelly as the JS parser.

parent c1142d64
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
require 'jsduck/js/parser'
require 'jsduck/js/rkelly_parser'
require 'jsduck/js/ast'
require 'jsduck/css/parser'
require 'jsduck/doc/parser'
@@ -41,7 +41,7 @@ module JsDuck
      if filename =~ /\.s?css$/
        docs = Css::Parser.new(contents, options).parse
      else
        docs = Js::Parser.new(contents, options).parse
        docs = Js::RKellyParser.new(contents, options).parse
        docs = Js::Ast.new(docs).detect_all!
      end
    end