We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0aecb3 commit 31e0101Copy full SHA for 31e0101
public/resources/js/util.js
@@ -77,7 +77,7 @@ var NgIoUtil = (function () {
77
// TODO: use $location.path() instead(?). It seems to be empty.
78
var loc = $location.absUrl();
79
// E.g., https://example.com/docs/dart/latest/guide/displaying-data.html
80
- var matches = loc.match(/.*\/([\w\-]+)(\.html)?$/);
+ var matches = loc.match(/.*\/([\w\-]+)(\.html)?/);
81
if (matches) NgIoUtil.setExampleName(matches[1]); // cache name
82
}
83
return NgIoUtil._exampleName;
0 commit comments