We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017d588 commit f5df1ebCopy full SHA for f5df1eb
public/resources/js/util.js
@@ -6,7 +6,7 @@ var NgIoUtil = (function () {
6
7
NgIoUtil.isDoc = function ($location, lang) {
8
var loc = $location.absUrl();
9
- return loc.includes('/docs/' + lang + '/');
+ return loc.indexOf('/docs/' + lang + '/') >= 0;
10
};
11
12
// The following util functions are adapted from _utils-fn.jade.
@@ -19,7 +19,7 @@ var NgIoUtil = (function () {
19
*
20
* - app/main.ts -> web/main.dart
21
* - displaying-data/ts/app/app.component.2.ts -> displaying-data/dart/lib/app_component.dart
22
- *
+ *
23
* Notice that the '.2' is dropped from the name.
24
*/
25
if (!_path) return _path;
0 commit comments