Skip to content

Commit 139a502

Browse files
committed
Bugfix: Wrong name in Template vendor file.
1 parent 1ddf9b5 commit 139a502

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "apidoc",
3-
"version": "0.12.2",
3+
"version": "0.12.3",
44
"description": "RESTful web API Documentation Generator",
55
"author": "Peter Rottmann <[email protected]>",
66
"license": {

template/utils/send_sample_request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ define([
5656
var url = $root.find(".sample-request-url").val();
5757

5858
// Insert url parameter
59-
var pattern = pathtoRegexp(url, null);
59+
var pattern = pathToRegexp(url, null);
6060
var matches = pattern.exec(url);
6161
for (var i = 1; i < matches.length; i++) {
6262
var key = matches[i].substr(1);

0 commit comments

Comments
 (0)