Skip to content

Commit

Permalink
package edit
Browse files Browse the repository at this point in the history
  • Loading branch information
icaliman committed Jul 26, 2014
1 parent 249aeba commit 3005c76
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 1,282 deletions.
28 changes: 3 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# Deployed apps should consider commenting this line out:
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
node_modules
node_modules/
lib/
*.swp
12 changes: 6 additions & 6 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)
Licensed under the standard MIT license:

Copyright (c) 2014 Niklas Andréasson <[email protected]>
Copyright 2014 John Caliman.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
41 changes: 1 addition & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1 @@
derby-datepicker
================

Datepicker component for derby.js.

At the time being there is only an inline version. If you have any suggestions or improvements, open an issue or send a pull request!


!["Screenshot of datepicker component"](https://raw.githubusercontent.com/NAndreasson/derby-datepicker/gh-pages/images/datepicker.png "Datepicker screenshot")

Please note that this project is inspired by [Bootstrap-datepicker](https://github.com/eternicode/bootstrap-datepicker), and makes use of a css-file from that project.

Format
=====
Dates set by datepicker will be in the format `YYYY-MM-DD` (2014-04-16).


Example usage
=====

First of make sure to install derby-datepicker through npm `npm install derby-datepicker`.


Including
--------

app.use(require('derby-datepicker'));
In template
-------

<Body:>
<datepicker active="{{post.date1}}"></datepicker>
<!-- inline -->
<datepicker active="{{post.date2}}" inline></datepicker>
Retrieve data
--------

var pickedDate = model.get('post.date');
A wrapper for getting weather data from multiple sources.
113 changes: 0 additions & 113 deletions datepicker/builders.js

This file was deleted.

94 changes: 0 additions & 94 deletions datepicker/index.html

This file was deleted.

Loading

0 comments on commit 3005c76

Please sign in to comment.