- May 10, 2012
-
-
Rene Saarsoo authored
The hight now gets set to the right size the first time the editor is activated.
-
Rene Saarsoo authored
Same thing as with comments editor - CodeMirror-scroll height defaults to 300px which we override with 'auto'.
-
Rene Saarsoo authored
Looks like the upgraded CodeMirror handles itself much better and so many forced refreshes aren't no more needed.
-
Rene Saarsoo authored
The previously used vbox layout caused some strange problems when selecting text or typing to CodeMirror editor - the whole panel shifted out of view towards left.
-
- May 09, 2012
-
-
Rene Saarsoo authored
Remove need to call #initScrolling explicitly from all the initComponent methods of classes that use this mixin. Instead inject the call into initComponent of those classes at creation time.
-
Rene Saarsoo authored
Re-implement the old behavior.
-
Rene Saarsoo authored
The Scrolling mixin now takes care of all this.
-
Rene Saarsoo authored
Refactor common scrolling methods into a mixin class that's used in both class overview and guides container.
-
Rene Saarsoo authored
A regression caused by changing the guide container into panel. Removed click handlers for guide - these simply didn't do anything useful - the first one saved incorrect scroll state and the next one was never triggered. Planning to fix that in the commits to follow...
-
Rene Saarsoo authored
Created JsDuck::HTML class which implements #strip_tags and also proxies CGI methods #escapeHTML and #unescapeHTML for more unified interface.
-
Rene Saarsoo authored
Some titles contain links, resulting in links-inside-links which is of no good.
-
Rene Saarsoo authored
-
- May 08, 2012
-
-
Rene Saarsoo authored
In 1.9 the Hash#select method returns a Hash, but in 1.8 it returns an array which can be converted to a hash using Hash[] (when passed a hash it will just pass through) - so now the code will produce a hash in both 1.8 and 1.9.
-
Rene Saarsoo authored
Created a #saveNew method directly on model, which ensures that when we add the comment, we automatically mark it as read for moderators.
-
Rene Saarsoo authored
Mongoose documentation doesn't list such parameter, and in comments app code it's nowhere used.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
This way it's also similar to ExtJS docs where there is a extjs-build/ dir.
-
Rene Saarsoo authored
Expanding when more lines added. Additionally remove enterMode config, which is no more supported, but the existance of which doesn't seem to make a difference.
-
- May 07, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- May 04, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
- When comment edited. - When deleted comment restored. - When additional comments appended to comments index page.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Eliminate separate :tests task.
-
Rene Saarsoo authored
Move --stats option below it (keep it still experimental).
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Adjusted styles to allow for text labels - I currently don't have suitable icons at hand.
-
Rene Saarsoo authored
Extract BatchRunner component, responsible for actually running the tests. The Index view then simply commands the BatchRunner and listens events from it. All this resulting in much simpler and actually even shorter code.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
So we now have a --tests option and all related modules are named tests, not doctests.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Also some refactoring of the DocTests view.
-
Rene Saarsoo authored
Add :type field to tell them apart.
-
Rene Saarsoo authored
Created Stdout class that merges arrays from multiple sources together and then finally writes all to STDOUT.
-
Rene Saarsoo authored
Guides HTML is now placed inside guide hashes and can be easily accessed from there when looping over with guides.each_item. But when calling the #to_array method, :html keys are filtered out, so it behaves like before and can be placed inside Docs.data.guides.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
- May 03, 2012
-
-
Rene Saarsoo authored
-