Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 5b30c68

Browse files
Foxandxsswardbell
authored andcommitted
chore: fix plunkers for IE11 (#3095)
1 parent 4253378 commit 5b30c68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/resources/js/util.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var NgIoUtil = (function () {
66

77
NgIoUtil.isDoc = function ($location, lang) {
88
var loc = $location.absUrl();
9-
return loc.includes('/docs/' + lang + '/');
9+
return loc.indexOf('/docs/' + lang + '/') >= 0;
1010
};
1111

1212
// The following util functions are adapted from _utils-fn.jade.
@@ -19,7 +19,7 @@ var NgIoUtil = (function () {
1919
*
2020
* - app/main.ts -> web/main.dart
2121
* - displaying-data/ts/app/app.component.2.ts -> displaying-data/dart/lib/app_component.dart
22-
*
22+
*
2323
* Notice that the '.2' is dropped from the name.
2424
*/
2525
if (!_path) return _path;

0 commit comments

Comments
 (0)