Skip to content

Commit

Permalink
0.1.6 Correct line ending in bin file.
Browse files Browse the repository at this point in the history
  • Loading branch information
rottmann committed Apr 22, 2013
1 parent a221084 commit 4b49bbd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions bin/apidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"use strict";

/*
* apidoc
* http://apidocjs.com
*
* Copyright (c) 2013 inveris OHG
* Author Peter Rottmann <[email protected]>
* Licensed under the MIT license.
*/
* apidoc
* http://apidocjs.com
*
* Copyright (c) 2013 inveris OHG
* Author Peter Rottmann <[email protected]>
* Licensed under the MIT license.
*/

var path = require("path");
var optimist = require("optimist");
Expand Down Expand Up @@ -84,19 +84,19 @@ var argv = optimist
if(argv.help)
{
optimist.showHelp();
process.exit(0);
process.exit(0);
}

/**
* Transform Parameters to Objectlist.
*
* @param {String[]} filters
* @returns {Object}
*/
* Transform Parameters to Objectlist.
*
* @param {String[]} filters
* @returns {Object}
*/
function transformFilters(filters)
{
if( ! filters) return undefined;
if(typeof(filters) === "string") filters = [ filters ];
if(typeof(filters) === "string") filters = [ filters ];
var retFilters = [];
filters.forEach(function(filter) {
var splits = filter.split("=");
Expand All @@ -123,4 +123,4 @@ var defaults = {
simulate: argv["simulate"]
};

require("../lib/apidoc")(defaults);
require("../lib/apidoc")(defaults);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apidoc",
"version": "0.1.5",
"version": "0.1.6",
"description": "RESTful web API Documentation Generator",
"author": "Peter Rottmann <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 4b49bbd

Please sign in to comment.