Skip to content

Instantly share code, notes, and snippets.

View joostme's full-sized avatar
🥑

Joost Zöllner joostme

🥑
View GitHub Profile
main.ts
-------
loadEnvironment(environment.environmentUrl)
.then(env => {
if (env.production) {
enableProdMode();
}
bootstrap();
});
sudo: required
addons:
chrome: stable
language: node_js
node_js:
- node
script:
- npm run test-ci
- npm run build-ci
before_deploy:
module.exports = function(config) {
config.set({
...
browsers: ['Chrome'],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
sudo: required
addons:
chrome: stable
language: node_js
node_js:
- node
script:
- npm run test-ci
- npm run build-ci
language: node_js
node_js:
- node
script:
- npm run build-ci
import { AutoUnsubscribe, takeWhileAlive } from 'take-while-alive';
@Component({
selector: 'edit-form',
templateUrl: './edit-form.component.html',
styleUrls: ['./edit-form.component.scss']
})
@AutoUnsubscribe()
export class EditFormComponent {
@Component({
selector: 'edit-form',
templateUrl: './edit-form.component.html',
styleUrls: ['./edit-form.component.scss']
})
export class EditFormComponent implements OnDestroy {
subscriptions: Subscription[];
@ViewChild('form')