@emartech/angular-suite-flipper
Advanced tools
Comparing version 1.0.0 to 1.0.3
{ | ||
"name": "@emartech/angular-suite-flipper", | ||
"version": "1.0.0", | ||
"version": "1.0.3", | ||
"description": "Angular module for Suite FLipper", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,4 +0,4 @@ | ||
# Angular2 Suite Flipper | ||
# Angular Suite Flipper | ||
This is a simple flipper solution for angular2. You should provide the flippers. | ||
This is a simple flipper solution for angular. You should provide the flippers. | ||
@@ -9,3 +9,3 @@ Install | ||
```bash | ||
npm install --save angular2-suite-flipper | ||
npm install --save @emartech/angular-suite-flipper | ||
``` | ||
@@ -15,7 +15,14 @@ Setup | ||
provide `flippers` in your bootstrap | ||
```javascript | ||
import { FlipperModule } from '@emartech/angular-suite-flipper'; | ||
provide('flippers', { useValue: ['dummy', 'test'] }); | ||
@NgModule({ | ||
imports: [ | ||
BrowserModule, | ||
FlipperModule.create(['dummy', 'test']) | ||
], | ||
declarations: [AppComponent], | ||
bootstrap: [AppComponent] | ||
}) | ||
export class AppModule { } | ||
``` | ||
@@ -28,8 +35,7 @@ | ||
import { IsOnPipe } from 'angular2-suite-flipper'; | ||
import { IsOffPipe } from 'angular2-suite-flipper'; | ||
import { IsOnPipe } from '@emartech/angular-suite-flipper'; | ||
import { IsOffPipe } from '@emartech/angular-suite-flipper'; | ||
@Component({ | ||
selector: '<sub-app>', | ||
pipes: [IsOnPipe, IsOffPipe], | ||
template: ` | ||
@@ -48,3 +54,3 @@ <h1 *ngIf="'dummy' | isOff">With</h1> | ||
import { FlipperService } from 'angular2-suite-flipper'; | ||
import { FlipperService } from '@emartech/angular-suite-flipper'; | ||
@@ -51,0 +57,0 @@ @Component({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21732
65