"dev": true
},
"prettier": {
- "version": "1.14.3",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.14.3.tgz",
- "integrity": "sha512-qZDVnCrnpsRJJq5nSsiHCE3BYMED2OtsI+cmzIzF1QIfqm5ALf8tEJcO27zV1gKNKRPdhjO0dNWnrzssDQ1tFg==",
+ "version": "1.16.4",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.16.4.tgz",
+ "integrity": "sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g==",
"dev": true
},
"pretty-format": {
"jest-canvas-mock": "1.1.0",
"jest-preset-angular": "6.0.2",
"jest-silent-reporter": "0.1.1",
- "prettier": "1.14.3",
+ "prettier": "1.16.4",
"protractor": "5.4.2",
"replace-in-file": "3.4.3",
"ts-node": "8.0.2",
@Component({
template: `
- <button type="button"
- class="btn btn-sm btn-primary"
- (click)="openCtrlDriven()">
+ <button type="button" class="btn btn-sm btn-primary" (click)="openCtrlDriven()">
<i class="fa fa-fw fa-times"></i>Deletion Ctrl-Test
<ng-template #ctrlDescription>
The spinner is handled by the controller if you have use the modal as ViewChild in order to
</ng-template>
</button>
- <button type="button"
- class="btn btn-sm btn-primary"
- (click)="openModalDriven()">
+ <button type="button" class="btn btn-sm btn-primary" (click)="openModalDriven()">
<i class="fa fa-fw fa-times"></i>Deletion Modal-Test
<ng-template #modalDescription>
The spinner is handled by the modal if your given deletion function returns a Observable.
}
private updateDropDownActions() {
- this.dropDownActions = this.tableActions.filter(
- (action) => (action.visible ? action.visible(this.selection) : action)
+ this.dropDownActions = this.tableActions.filter((action) =>
+ action.visible ? action.visible(this.selection) : action
);
}
@Component({
template: `
<form>
- <input id="x" type="text">
- <input id="y" type="password" autofocus>
- </form>`
+ <input id="x" type="text" />
+ <input id="y" type="password" autofocus />
+ </form>
+ `
})
export class PasswordFormComponent {}
@Component({
template: `
<form>
- <input id="x" type="checkbox" autofocus>
- <input id="y" type="text">
- </form>`
+ <input id="x" type="checkbox" autofocus />
+ <input id="y" type="text" />
+ </form>
+ `
})
export class CheckboxFormComponent {}
(Math.floor(num / 10) === 1
? 'th'
: num % 10 === 1
- ? 'st'
- : num % 10 === 2
- ? 'nd'
- : num % 10 === 3
- ? 'rd'
- : 'th')
+ ? 'st'
+ : num % 10 === 2
+ ? 'nd'
+ : num % 10 === 3
+ ? 'rd'
+ : 'th')
);
}
}
TestBed.resetTestingModule = () => TestBed;
})()
.then(done)
- .catch(done.fail));
+ .catch(done.fail)
+ );
afterAll(() => {
TestBed.resetTestingModule = resetTestingModule;
});