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

chore: fix plunkers for IE11 #3095

Merged
merged 1 commit into from
Jan 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions public/resources/js/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var NgIoUtil = (function () {

NgIoUtil.isDoc = function ($location, lang) {
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.
Expand All @@ -19,7 +19,7 @@ var NgIoUtil = (function () {
*
* - app/main.ts -> web/main.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.
*/
if (!_path) return _path;
Expand Down