7 Commits

Author SHA1 Message Date
Jeff Williams
7fd0f590ee don't crash on UTF-8 JSON files with a leading BOM (#1256, #1297) 2017-07-02 16:28:23 -07:00
Jeff Williams
06acc6697a optionally scan tutorials directory recursively (#712)
Squashed commit of the following:

commit 5be2cb3103521d2ca1a14c24d4ccd776c1f2a5d9
Author: Jeff Williams <jeffrey.l.williams@gmail.com>
Date:   Mon Nov 3 14:29:29 2014 -0800

    make tutorials respect the --recurse option; refactor modules to facilitate testing; improve tests

commit 9af57751385439ceee3fac8f698a747a745c7c2b
Merge: 5399745 97a8ab0
Author: Jeff Williams <jeffrey.l.williams@gmail.com>
Date:   Sat Nov 1 19:00:43 2014 -0700

    Merge remote-tracking branch 'koalazak/master' into 712

    Conflicts:
    	lib/jsdoc/opts/args.js

commit 97a8ab000b567c220525cc179c2f45b626236933
Author: zak <zak@ultra>
Date:   Mon Jul 21 15:28:20 2014 -0300

    Removed command-line option -U to recursive. Now is default. Added tests.

commit a79c9c9dac4eeb784e3f22b1da073c2af5b014cc
Author: zak <zak@ultra>
Date:   Thu Jul 17 13:28:38 2014 -0300

    Recurse 5 levels

commit 349d10e528d6ba797fd745e31e1e358ddcf26857
Author: koalazak <facu@Cacahuate.local>
Date:   Wed Jul 16 22:30:41 2014 -0300

    Travis CI ready ready

commit ffde2bf4bdc2bd0ba2daa20a58540e4a2dd099e8
Author: koalazak <facu@Cacahuate.local>
Date:   Wed Jul 16 22:22:56 2014 -0300

    Travis CI ready

commit 3e439151fb58d530abe294f1cc499e5fab7b8fe8
Author: koalazak <facu@Cacahuate.local>
Date:   Wed Jul 16 21:47:22 2014 -0300

    Optionally scan tutorials directory recursively

    I do not want to have a directory of tutorials. I need to have the
    tutorials distributed throughout the project. I have one in each
    "package" folder.
2014-11-03 14:30:21 -08:00
mathematicalcoffee
1674f87259 forgot to add a fixture that is used for the templateHelper tests... 2013-02-14 17:49:41 +10:00
mathematicalcoffee
bc35934546 added tests for tutorial/resolver. A bit of renaming needed to ensure all test tutorials had unique names 2013-02-02 16:10:40 +10:00
Jeff Williams
dc75f6328b fix several tutorial-related issues (#222)
- Tutorial code allowed JSON files to have a .js extension, then tried
to parse all .js files as JSON. The code now only looks for JSON files
with a .json extension. This allows .js files and tutorials to live in
the same directory.
- Recent changes caused tutorials to be generated with the wrong
filename. This is now fixed.
2012-11-11 03:17:02 -08:00
Jeff Williams
d04ed34612 in lenient mode, suppress as many exceptions as possible, logging errors to the console. closes #159. 2012-08-18 07:34:37 -07:00
Rafał Wrzeszcz
2153d7cd0c Tutorials sample to tests. 2011-12-15 13:46:40 +01:00