Skip to content

Commit 03abbc3

Browse files
committed
Update README and authors.
,%%%%%%%%, ,%%/\%%%%/\%% ,%%%\c "" J/%%% %. %%%%/ o o \%%% `%%. %%%% _ |%%% `%% `%%%%(__Y__)%%' // ;%%%%`\-/%%%' (( / `%%%%%%%' \\ .' | \\ / \ | | \\/ ) | | \ /_ | |__ (___________)))))))
1 parent f64300d commit 03abbc3

4 files changed

Lines changed: 38 additions & 9 deletions

File tree

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ember-pikaday
1+
[ember-pikaday](https://github.com/Frozenfire92/ember-pikaday)
22
=============
33

44
[Pikaday](https://github.com/dbushell/Pikaday) support in [Ember.js](http://emberjs.com/) via components. Uses [Moment.js](http://momentjs.com/) for beautification.
@@ -10,10 +10,32 @@ ember-pikaday
1010

1111
## Usage
1212

13+
1) Install via Bower
14+
1315
```bash
1416
bower install --save ember-pikaday
1517
```
1618

19+
2) Add library references to your index.html
20+
21+
```html
22+
<link rel="stylesheet" href="bower_components/pikaday/css/pikaday.css">
23+
24+
<script src="bower_components/pikaday/pikaday.js"></script>
25+
<script src="bower_components/ember-pikaday/build/lib.js"></script>
26+
```
27+
28+
3) Use in your project
29+
30+
This will bind `your(Date/String)Property` to the date picker
31+
32+
```handlebars
33+
{{pik-a-day date=yourDateProperty}}
34+
or
35+
{{pik-a-day value=yourStringProperty}}
36+
```
37+
38+
1739
## Developing
1840

1941
After cloning repository, install library dependencies.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ember-pikaday",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"dependencies": {
55
"ember": "^1.3.2",
66
"handlebars": "^1.2.1",

lib/lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require('build/temp/template');
22

33
Ember.emberPikaday = Ember.Namespace.create();
4-
Ember.emberPikaday.VERSION = '0.1.0';
4+
Ember.emberPikaday.VERSION = '0.1.1';
55

66
Ember.libraries.register('ember-pikaday', Ember.emberPikaday.VERSION);
77

package.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
{
22
"name": "ember-pikaday",
3-
"version": "0.1.0",
4-
"author": {
5-
"name": "Joel Kuntz & Glavin Wiechert",
6-
"email": "joel.kuntz.92@gmail.com, glavin@streamlyne.co",
7-
"url": "https://github.com/Frozenfire92/ember-pikaday"
8-
},
3+
"version": "0.1.1",
4+
"authors": [
5+
{
6+
"name": "Joel Kuntz",
7+
"email": "joel.kuntz.92@gmail.com",
8+
"url": "https://github.com/Frozenfire92"
9+
},
10+
{
11+
"name": "Glavin Wiechert",
12+
"email": "glavin@streamlyne.co",
13+
"url": "https://github.com/Glavin001"
14+
},
15+
],
916
"dependencies": {},
1017
"devDependencies": {
1118
"grunt": "~0.4.1",

0 commit comments

Comments
 (0)