Fix for whitespace before comment block #2

Merged
merged 1 commit into from Apr 26, 2013

Projects

None yet

2 participants

@brandonhamilton
Contributor

Fixes a bug when comment block has whitespace before it which causes a crash
e.g.

/**
 * @apiDefinePermission admin This title is visible in version 0.1.0 and 0.2.0
 * @apiVersion 0.1.0
 */

    /**
     * @api {get} /user/:id Read data of a User
     * @apiVersion 0.3.0
     * @apiName GetUser
     * @apiGroup User
     */
@rottmann rottmann merged commit eedf508 into apidoc:master Apr 26, 2013
@rottmann
Member

Thank you! I integrate it and extend the test for it. npm update is on the way.

@vanessanutrio vanessanutrio pushed a commit to vanessanutrio/apidoc-0.4.1 that referenced this pull request Mar 6, 2014
@rottmann rottmann 0.1.9 Change Test for whitespace before comment block e388aa4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment