Skip to content

Commit

Permalink
fix(sortable): make property public for AoT compilance
Browse files Browse the repository at this point in the history
fixes #1483
  • Loading branch information
valorkin committed Jan 12, 2017
1 parent 8e18733 commit e5c3135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sortable/sortable.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ export class SortableComponent implements ControlValueAccessor {
*/
@Output() public onChange: EventEmitter<any[]> = new EventEmitter<any[]>();

private _items: SortableItem[];
public showPlaceholder: boolean = false;

private showPlaceholder: boolean = false;
private _items: SortableItem[];

private get items(): SortableItem[] {
return this._items;
Expand Down

2 comments on commit e5c3135

@josephskeller
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same thing needs to happen with 'items'.

@valorkin
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the hell it works for me? Because docs are compiled with AoT, Hm. Can you do a PR?
After clone you need to
npm run build
npm run link
npm start

Please sign in to comment.