Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit

Permalink
Refactor test suite, fix count function and EveryPipe test. Move aggr…
Browse files Browse the repository at this point in the history
…egates pipes. Add IsNil to boolean module.
  • Loading branch information
fknop committed Nov 8, 2016
1 parent f5fcb0b commit 069828e
Show file tree
Hide file tree
Showing 83 changed files with 262 additions and 810 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
node_modules
jspm_packages
dist
*.log
typings

# Dist folder
pipes
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
dist/test
test
jspm_packages
gulpfile.js
.gitignore
tsconfig.json
22 changes: 11 additions & 11 deletions docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@ Since version `2.2.0` you can take advantage of these modules.

Each category of pipes has an exported module. And one module imports all these modules.

* Ng2AggregatePipesModule
* Ng2ArrayPipesModule
* Ng2BooleanPipesModule
* Ng2MathPipesModule
* Ng2ObjectPipesModule
* Ng2StringPipesModule
* Ng2PipesModule (imports all the module above)
* NgAggregatePipesModule
* NgArrayPipesModule
* NgBooleanPipesModule
* NgMathPipesModule
* NgObjectPipesModule
* NgStringPipesModule
* NgPipesModule (imports all the module above)


## Example

```typescript
import { NgModule } from '@angular/core';

import { Ng2ArrayPipesModule, Ng2StringPipesModule } from 'angular-pipes';
import { NgArrayPipesModule, NgStringPipesModule } from 'angular-pipes';

@NgModule({
imports: [
Ng2ArrayPipesModule,
Ng2StringPipesModule
NgArrayPipesModule,
NgStringPipesModule
]
})
export class MyApplicationModule {}

```
```
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ const clean = require('gulp-clean');

gulp.task('clean', function () {

return gulp.src('pipes').pipe(clean());
return gulp.src('dist').pipe(clean());
});
29 changes: 0 additions & 29 deletions index.ts

This file was deleted.

33 changes: 0 additions & 33 deletions jspm.browser.js

This file was deleted.

268 changes: 0 additions & 268 deletions jspm.config.js

This file was deleted.

Loading

0 comments on commit 069828e

Please sign in to comment.