- Jul 04, 2013
-
-
Rene Saarsoo authored
Use the ~> syntax to allow us to release patches to rkelly-remix and get the picked up by jsduck installations.
-
Rene Saarsoo authored
When for-in contains variable declaration, Esprima produced the whole VariableDeclaration, but RKelly gives just VarDeclNode - so we wrap it inside a VariabelDeclaration to match Esprima output.
-
Rene Saarsoo authored
Missing variable in catch clause is a JS syntax error. This happened to work in old Esprima, but no more works in neither new Esprima nor RKelly.
-
Rene Saarsoo authored
That's not supported by RKelly, and really not needed in practice.
-
Rene Saarsoo authored
It still referenced the old Esprima engine.
-
Rene Saarsoo authored
Because the EsprimaAdapter gives a string value to regex literals, which is different from nil received from Esprima itself, we'll have to check first for regex and after that for string.
-
Rene Saarsoo authored
Previously && and || were treated as BinaryExpressions, but Esprima classified these as LogicalExpressions.
-
Rene Saarsoo authored
The "test" and "body" parts had been switched.
-
Rene Saarsoo authored
So we don't have to change all the tests that target the old Js::Parser. Besides, it's better to use a more generic name anyway.
-
Rene Saarsoo authored
Break the no_doc warning type into three: - no_doc - no_doc_member - no_doc_param
-
Rene Saarsoo authored
At least in browsers that support it. Unfortunately Chrome doesn't.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Previously H5 and H6 weren't styled at all, resulting them looking like plain text.
-
Rene Saarsoo authored
Also print out message in verbose mode about the auto-detected config file, so reading it happens with less magic. Fixes #402
-
Rene Saarsoo authored
- Jul 03, 2013
-
-
Rene Saarsoo authored
But instead of standard RKelly gem, use our own rkelly-remix fork.
-
Rene Saarsoo authored
-
- Jul 02, 2013
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Previously all property keys were treated as being identifiers - now we correctly detect if they're strings or numbers.
-
Rene Saarsoo authored
RKelly chokes when it sees that.
-
Rene Saarsoo authored
Causes problems with RKelly which chokes when it sees a reserved word like that inside a property chain.
-
Rene Saarsoo authored
Ext 1.1 source happened to contained code like: /** * @param {String} (optional) */ which brought JSDuck crashing down.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Jul 01, 2013
-
-
Rene Saarsoo authored
The Js::Associator expects all nodes to have "range".
-
- Jun 25, 2013
-
-
Rene Saarsoo authored
-
- Jun 19, 2013
-
-
Rene Saarsoo authored
-
- Jun 14, 2013
-
-
Rene Saarsoo authored
Inside RKellyParser: - Invoke RKelly. - Adapt its output with RKellyAdapter - Set the correct range for root node. - Pass the adapated AST to Associator. Change RKellyAdapter to: - Create root "Program" node. - Adapt the comment nodes inside this root node. - Adjust the range end by one - so it matches the esprima way. - Include line number to the adapter range.
-
- Jun 13, 2013
-
-
Rene Saarsoo authored
Intending to use the same logic in RKellyParser.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Jun 10, 2013
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
In an attempt to replace Esprima with RKelly, I created an adapter to convert the RKelly AST into Esprima AST.
-
- May 31, 2013
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
The backwards-compatibility fix for code like: Here's the code example:<pre><code> alert("Blah"); </code></pre> was a bit too lose. So tightened it up to only apply in case where the <pre> or <pre><code> is at the end of line. Fixes: #380
-
- May 30, 2013
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
There was a conflict with one method looping over array while other deleting items from it at the same time. Fixes: #378
-
Rene Saarsoo authored
-