Skip to content

Commit

Permalink
fix: AOT compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime1992 committed Sep 4, 2017
1 parent 950368f commit 5c45d76
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-hover-opacity",
"version": "0.1.0",
"version": "0.2.0",
"scripts": {
"build": "gulp build",
"build:watch": "gulp",
Expand Down
4 changes: 2 additions & 2 deletions src/helpers/string.helpers.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
function isString(value: any) {
export function isString(value: any) {
return typeof value === 'string';
}

function camelCaseToDash(str: string) {
export function camelCaseToDash(str: string) {
return str.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
}

Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { CommonModule } from '@angular/common';
import { NgxHoverOpacityComponent } from './components/ngx-hover-opacity.component';
import { SlugifyObjectKeysPipe } from './pipes/slugify-object-keys.pipe';

export { SlugifyObjectKeysPipe } from './pipes/slugify-object-keys.pipe';
export { NgxHoverOpacityComponent } from './components/ngx-hover-opacity.component';

@NgModule({
imports: [CommonModule],
declarations: [NgxHoverOpacityComponent, SlugifyObjectKeysPipe],
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-hover-opacity",
"version": "0.1.0",
"version": "0.2.0",
"repository": {
"type": "git",
"url": "https://github.com/maxime1992/ngx-hover-opacity"
Expand Down

0 comments on commit 5c45d76

Please sign in to comment.