Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ export class SidenavDisableCloseExample {
this.sidenav.close();
}

shouldRun = [/(^|\.)plnkr\.co$/, /(^|\.)stackblitz\.io$/].some(h => h.test(window.location.host));
shouldRun = /(^|.)(stackblitz|webcontainer).(io|com)$/.test(window.location.host);
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ export class SidenavFixedExample {
});
}

shouldRun = [/(^|\.)plnkr\.co$/, /(^|\.)stackblitz\.io$/].some(h => h.test(window.location.host));
shouldRun = /(^|.)(stackblitz|webcontainer).(io|com)$/.test(window.location.host);
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ import {FormControl} from '@angular/forms';
})
export class SidenavModeExample {
mode = new FormControl('over');
shouldRun = [/(^|\.)plnkr\.co$/, /(^|\.)stackblitz\.io$/].some(h => h.test(window.location.host));
shouldRun = /(^|.)(stackblitz|webcontainer).(io|com)$/.test(window.location.host);
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export class SidenavOpenCloseExample {
events: string[] = [];
opened: boolean;

shouldRun = [/(^|\.)plnkr\.co$/, /(^|\.)stackblitz\.io$/].some(h => h.test(window.location.host));
shouldRun = /(^|.)(stackblitz|webcontainer).(io|com)$/.test(window.location.host);
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ import {Component} from '@angular/core';
styleUrls: ['sidenav-overview-example.css'],
})
export class SidenavOverviewExample {
shouldRun = [/(^|\.)plnkr\.co$/, /(^|\.)stackblitz\.io$/].some(h => h.test(window.location.host));
shouldRun = /(^|.)(stackblitz|webcontainer).(io|com)$/.test(window.location.host);
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ import {Component} from '@angular/core';
styleUrls: ['sidenav-position-example.css'],
})
export class SidenavPositionExample {
shouldRun = [/(^|\.)plnkr\.co$/, /(^|\.)stackblitz\.io$/].some(h => h.test(window.location.host));
shouldRun = /(^|.)(stackblitz|webcontainer).(io|com)$/.test(window.location.host);
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ export class SidenavResponsiveExample implements OnDestroy {
this.mobileQuery.removeListener(this._mobileQueryListener);
}

shouldRun = [/(^|\.)plnkr\.co$/, /(^|\.)stackblitz\.io$/].some(h => h.test(window.location.host));
shouldRun = /(^|.)(stackblitz|webcontainer).(io|com)$/.test(window.location.host);
}