Skip to content

Commit ee93c74

Browse files
committed
Update Readme and Changelog
1 parent 5ca97a5 commit ee93c74

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#Changelog
22

3+
## 0.4.2 (2016-05-08)
4+
5+
Breaking changes:
6+
7+
- update angular library to 2.0.0-rc.0
8+
9+
#Changelog
10+
311
## 0.3.0 (2016-05-08)
412

513
Breaking changes:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# DataTable component for Angular2
1+
# Table component with sorting and pagination for Angular2
22
[![npm version](https://badge.fury.io/js/angular2-datatable.svg)](https://badge.fury.io/js/angular2-datatable)
33
[![Build Status](https://travis-ci.org/mariuszfoltak/angular2-datatable.svg?branch=master)](https://travis-ci.org/mariuszfoltak/angular2-datatable)
44
[![Code Climate](https://codeclimate.com/github/mariuszfoltak/angular2-datatable/badges/gpa.svg)](https://codeclimate.com/github/mariuszfoltak/angular2-datatable)
@@ -12,14 +12,14 @@ Check [live demo](http://plnkr.co/edit/tINlfy?p=preview) in plunker
1212
## Installation
1313

1414
```
15-
npm -i angular2-datatable
15+
npm i -S angular2-datatable
1616
```
1717

1818
## Usage example
1919

2020
app.ts
2121
```typescript
22-
import {Component} from 'angular2/core';
22+
import {Component} from '@angular/core';
2323
import {DataTableDirectives} from 'angular2-datatable/datatable';
2424

2525
@Component({
@@ -52,7 +52,7 @@ app.html
5252
</tr>
5353
</thead>
5454
<tbody>
55-
<tr *ngFor="#item of mf.data">
55+
<tr *ngFor="let item of mf.data">
5656
<td>{{item.name}}</td>
5757
<td>{{item.email}}</td>
5858
<td class="text-right">{{item.age}}</td>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular2-datatable",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "DataTable component for Angular2 framework",
55
"main": "datatable",
66
"scripts": {

0 commit comments

Comments
 (0)