File tree 5 files changed +22
-9
lines changed
5 files changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,17 @@ addons:
12
12
- google-chrome
13
13
packages :
14
14
- google-chrome-stable
15
+
16
+ before_script :
17
+ - npm run lint
18
+ - npm run build
19
+
15
20
before_install :
16
21
- npm install buffer-shims
17
22
- export CHROME_BIN=chromium-browser
18
23
- export DISPLAY=:99.0
19
24
- sh -e /etc/init.d/xvfb start
25
+
20
26
before_deploy : npm run build
21
27
deploy :
22
28
provider : npm
Original file line number Diff line number Diff line change 4
4
"license" : " MIT" ,
5
5
"scripts" : {
6
6
"ng" : " ng" ,
7
- "start" : " npm run build && npm run serve" ,
8
- "serve" : " ng serve" ,
9
- "build" : " npm run lint && ng build" ,
10
- "test" : " npm run build && ng test --watch=false" ,
7
+ "start" : " ng serve" ,
8
+ "build" : " ng build --prod --output-hashing none" ,
9
+ "test" : " ng test --watch=false" ,
11
10
"test-dev" : " ng test" ,
12
11
"lint" : " tslint \" src/**/*.ts\" " ,
13
12
"e2e" : " ng e2e" ,
38
37
"zone.js" : " ^0.8.4"
39
38
},
40
39
"devDependencies" : {
41
- "@angular/cli" : " 1.0.0 " ,
40
+ "@angular/cli" : " 1.2.6 " ,
42
41
"@angular/compiler-cli" : " ^4.0.0" ,
43
42
"@types/diff" : " ^3.2.0" ,
44
43
"@types/jasmine" : " 2.5.38" ,
57
56
"ts-node" : " ~2.0.0" ,
58
57
"tslint" : " ~4.5.0" ,
59
58
"typescript" : " ~2.2.0"
59
+ },
60
+ "repository" : {
61
+ "type" : " git" ,
62
+ "url" : " https://github.com/inspirehep/ng2-multi-record-editor.git"
63
+ },
64
+ "bugs" : {
65
+ "url" : " https://github.com/inspirehep/ng2-multi-record-editor/issues"
60
66
}
61
67
}
Original file line number Diff line number Diff line change 15
15
< div class ="form-group ">
16
16
< input type ="text " name ="value " [(ngModel)] ="condition.value " class ="form-control input-sm " placeholder ="condition value ">
17
17
</ div >
18
- < div *ngIf =" canDelete " class ="form-group ">
19
- < i class ="fa fa-times " (click) =" deleteElement() " aria-hidden ="true "> </ i >
18
+ < div class ="form-group ">
19
+ < i class ="fa fa-times " aria-hidden ="true "> </ i >
20
20
</ div >
21
21
</ form >
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { AppGlobalsService } from '../shared/services';
9
9
} )
10
10
export class ConditionsComponent {
11
11
@Input ( ) condition : Condition ;
12
+
12
13
constructor ( private appGlobalsService : AppGlobalsService ) { }
13
14
14
15
get matchTypes ( ) : string [ ] {
Original file line number Diff line number Diff line change 1
- < me-editor-toolbar-container (onSearchRecordClick) =" searchRecords(query) " ( onCollectionChange) ="onCollectionChange($event) "> </ me-editor-toolbar-container >
1
+ < me-editor-toolbar-container (onCollectionChange) ="onCollectionChange($event) "> </ me-editor-toolbar-container >
2
2
< div class ="container me-container ">
3
3
< me-actions > </ me-actions >
4
4
< div class ="me-bar ">
@@ -20,7 +20,7 @@ <h3>Sorry no results found</h3>
20
20
< div class ="preview-border ">
21
21
< button class ="btn-success button " (click) ="onPreviewClick() "> Preview</ button >
22
22
</ div >
23
- < div class ="row ">
23
+ < div class ="row ">
24
24
< div class ="col-md-2 ">
25
25
< span >
26
26
< input class ="results-checkbox " type ="checkbox " [checked] ="checkedRecords.length === 0 " (change) ="selectAll() "> Select all results
You can’t perform that action at this time.
0 commit comments