chore: fix plunkers for IE11 (#3095)

This commit is contained in:
Jesús Rodríguez 2017-01-14 05:56:42 +01:00 committed by Ward Bell
parent 4253378e66
commit 5b30c684d3
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ var NgIoUtil = (function () {
NgIoUtil.isDoc = function ($location, lang) { NgIoUtil.isDoc = function ($location, lang) {
var loc = $location.absUrl(); var loc = $location.absUrl();
return loc.includes('/docs/' + lang + '/'); return loc.indexOf('/docs/' + lang + '/') >= 0;
}; };
// The following util functions are adapted from _utils-fn.jade. // The following util functions are adapted from _utils-fn.jade.
@ -19,7 +19,7 @@ var NgIoUtil = (function () {
* *
* - app/main.ts -> web/main.dart * - app/main.ts -> web/main.dart
* - displaying-data/ts/app/app.component.2.ts -> displaying-data/dart/lib/app_component.dart * - displaying-data/ts/app/app.component.2.ts -> displaying-data/dart/lib/app_component.dart
* *
* Notice that the '.2' is dropped from the name. * Notice that the '.2' is dropped from the name.
*/ */
if (!_path) return _path; if (!_path) return _path;