- Sep 14, 2012
-
-
Rene Saarsoo authored
No need for it to be inside App. The configuring of Logger already happens inside Options, so lets have the others there too.
-
Rene Saarsoo authored
It was implemented long-long time ago and I doubt it's of much use. Even if somebody uses it, the same information can be retrieved from --export=full.
-
- Sep 13, 2012
-
-
Rene Saarsoo authored
Now the App class really can be called simple.
-
Rene Saarsoo authored
Finally the App class is now relatively simple.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
The class was still using the old JsonDuck instead of Util::Json.
-
Rene Saarsoo authored
Split the huge method into lots of smaller routines.
-
Rene Saarsoo authored
Move all the messy parsing logic away from already overcomplicated App class. Now the App is left with pretty much just one method that represents the flow of the entire app. It's still too complicated though.
-
Rene Saarsoo authored
This new class encapsulates the formatting of all classes. Also, while formatting, we now create a new class_formatter for each class that we process. That's because otherwise the list of images detected in one class will be added to the images detected from the next one, and so on and on... This wasn't really a problem because we stripped away the duplicate images anyway, but it wasn't really the right way to do it.
-
Rene Saarsoo authored
- Constructor now takes just opts and relations is passed in separately through accessor. - Remove old leftover: @images variable.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
No reason at all for it to be part of DocFormatter.
-
Rene Saarsoo authored
-
- Sep 12, 2012
-
-
Rene Saarsoo authored
Cancel out the min-width set in stylesheet. Add <meta> to use device width as default.
-
Rene Saarsoo authored
Although our simple implementation worked also just fine, the builtin Singleton has some more checks built into it - just good to rely on something that's well tried and tested.
-
Rene Saarsoo authored
Using PHP Mobile_Detect library to do the device detection: http://code.google.com/p/php-mobile-detect/ This mainly changes how we serve the front page - otherwise mobile is treated exactly the same as print pages.
-
Rene Saarsoo authored
So that when the docs are loaded over file: protocol we'll still load the fonts over http:, not attempting to load them from local filesystem.
-
Rene Saarsoo authored
Caused by the fact that IE8 doesn't allow the reserved keyword 'enum' to be used inside a member expression, like so: someObj.enum So I had to rewrite it like so: someObj["enum"] IE9 and other browsers didn't have a problem with that.
-
- Sep 10, 2012
-
-
Rene Saarsoo authored
Enhance Util::Json.parse to accept an options parameter which Esprima class needs to pass. Now everything accesses the JSON gem through JsDuck::Util::Json wrapper.
-
Rene Saarsoo authored
Results in much simpler code without all the self.method_name uses.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Use it to abstract away the singleton logic in Logger.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
This way splitting the assets into subgroups will help to reduce the amount of information shown in ThumbList display.
-
Rene Saarsoo authored
Nested groups can be defined as follows: [{ "title": "Main group", "items": [ {"title: "subgroup", "items: [ ... ]} ] }] In UI the tree will then show subfolders for the nested asset groups. But the ThumbList display will still show all the assets in old way, and the assets in subgroups will be expanded so they will appear as if they were listed directly inside the top level group. I guess in some way this beats the whole point of having the subgroups - as all the assets still show up on the main page as if there were no subgroups at all. On the other hand we now technically have support for subgroups, but I feel that's not really what these users were after when they asked for nested grouping. Additionally eliminated :dup_asset warning. It didn't fit nicely to the new way of iterating over assets, and I think it wasn't such a useful warning anyway.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Sep 07, 2012
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
The class was for long no more in use, but the file was left undeleted.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
A bit less stuff in the main JsDuck namespace.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Included a mini-library 'regexp-quote' which provides just one but useful function.
-