Introduced simple datepicker
diff --git a/dev/demo/datepicker.html b/dev/demo/datepicker.html
new file mode 100644
index 0000000..e99f021
--- /dev/null
+++ b/dev/demo/datepicker.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Datepicker demo</title>
+ <meta charset="utf-8" />
+ <script data-main="datepickerdemo.js" src="../js/lib/require.js" async="async"></script>
+ <link type="text/css" rel="stylesheet" href="../css/kalamar.css" />
+ </head>
+ <body>
+ <div id="dp"></div>
+ </body>
+</html>
diff --git a/dev/demo/datepickerdemo.js b/dev/demo/datepickerdemo.js
new file mode 100644
index 0000000..ce0913e
--- /dev/null
+++ b/dev/demo/datepickerdemo.js
@@ -0,0 +1,15 @@
+requirejs.config({
+ baseUrl: '../js/src',
+ paths : {
+ 'lib': '../lib'
+ }
+});
+
+require(['datepicker', 'lib/domReady'], function (dpClass, domReady) {
+ domReady(function () {
+ var dp = dpClass.create();
+ document.getElementById('dp').appendChild(
+ dp.select(2015,4,12).show(2015,4)
+ );
+ });
+});