Skip to content

Commit

Permalink
added copy script, moved lib files in separate folder inside example …
Browse files Browse the repository at this point in the history
…folder
  • Loading branch information
VadimDez committed Dec 18, 2017
1 parent 8806e33 commit 01df9f7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion examples/ng-cli/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ <h5>After filtering</h5>
</div>
<div>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" id="object.nested.val"
<input class="mdl-textfield__input"
type="text"
id="object.nested.val"
[(ngModel)]="objectsFilter.nested.val"
[value]="objectsFilter.nested.val"
>
Expand Down
2 changes: 1 addition & 1 deletion examples/ng-cli/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';

import { AppComponent } from './app.component';
import { FilterPipeModule } from './shared';
import { FilterPipeModule } from './shared/ngx-filter-pipe';
import { MDL } from './shared/mdl';

@NgModule({
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Pipe, Injectable } from '@angular/core';

@Pipe({
name: 'filterBy',
pure: false
pure: true
})

@Injectable()
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"pree2e": "webdriver-manager update",
"e2e": "protractor",
"minify": "uglifyjs ./dist/app/shared/ngx-filter.pipe.js --compress --mangle --output ./ngx-filter.pipe.min.js --source-map ./ngx-filter.pipe.min.js.map",
"build": "rimraf dist && tsc -p tsconfig-esm.json && rollup -c && rollup -c --environment MINIFY && ngc -p tsconfig.json"
"build": "rimraf dist && tsc -p tsconfig-esm.json && rollup -c && rollup -c --environment MINIFY && ngc -p tsconfig.json",
"copy": "cp -R ./examples/ng-cli/src/app/order-pipe/ ./src/"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 01df9f7

Please sign in to comment.