Skip to content

Commit

Permalink
Bugfix: Wrong name in Template vendor file.
Browse files Browse the repository at this point in the history
  • Loading branch information
rottmann committed Apr 16, 2015
1 parent 1ddf9b5 commit 139a502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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.12.2",
"version": "0.12.3",
"description": "RESTful web API Documentation Generator",
"author": "Peter Rottmann <[email protected]>",
"license": {
Expand Down
2 changes: 1 addition & 1 deletion template/utils/send_sample_request.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ define([
var url = $root.find(".sample-request-url").val();

// Insert url parameter
var pattern = pathtoRegexp(url, null);
var pattern = pathToRegexp(url, null);
var matches = pattern.exec(url);
for (var i = 1; i < matches.length; i++) {
var key = matches[i].substr(1);
Expand Down

0 comments on commit 139a502

Please sign in to comment.