Skip to content

Commit

Permalink
rename v2 folder (with deprecation notice) to avoid confusion + added…
Browse files Browse the repository at this point in the history
… bower ignore
  • Loading branch information
amsul committed Sep 17, 2013
1 parent 876acb9 commit 9aaffd2
Show file tree
Hide file tree
Showing 63 changed files with 75 additions and 59 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

# Changelog

## 3.2.2

- [#210](https://github.com/amsul/pickadate.js/issues/210): Fixed jQuery conflict in picker extension files.
- [#223](https://github.com/amsul/pickadate.js/issues/223): Time picker “disabled” attribute fix.

## 3.2.1

- [#210](https://github.com/amsul/pickadate.js/issues/210): Wrapped files using UMD patterns.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pickadate v3.2.1 [![pickadate build status](https://travis-ci.org/amsul/pickadate.js.png?branch=gh-pages)](https://travis-ci.org/amsul/pickadate.js)
# pickadate v3.2.2 [![pickadate build status](https://travis-ci.org/amsul/pickadate.js.png?branch=gh-pages)](https://travis-ci.org/amsul/pickadate.js)

The mobile-friendly, responsive, and lightweight jQuery date & time input picker.

Expand All @@ -11,7 +11,7 @@ The mobile-friendly, responsive, and lightweight jQuery date & time input picker

#### To get it:

[Download v3.2.1](https://github.com/amsul/pickadate.js/archive/3.2.1.zip) or `git clone git://github.com/amsul/pickadate.js.git` or `bower install pickadate`
[Download v3.2.2](https://github.com/amsul/pickadate.js/archive/3.2.2.zip) or `git clone git://github.com/amsul/pickadate.js.git` or `bower install pickadate`



Expand All @@ -38,7 +38,7 @@ File | Contents | Size (min & gzip)
----------------------- | ------------------------ | ----------------------
`picker.js` | __Base *__ | 1.32kb
`picker.date.js` | Date picker | 1.96kb
`picker.time.js` | Time picker | 1.31kb
`picker.time.js` | Time picker | 1.32kb

__*__ The base script is **required** for any of the pickers to function.

Expand All @@ -62,7 +62,7 @@ __*__ One and only one base stylesheet is **required**. [Choose a theme](http://

### Translations

The translations are copied into the `lib/translations` folder. There are currently [32 languages](https://github.com/amsul/pickadate.js/blob/3.2.1/lib/translations) included.
The translations are copied into the `lib/translations` folder. There are currently [32 languages](https://github.com/amsul/pickadate.js/blob/3.2.2/lib/translations) included.



Expand Down
61 changes: 33 additions & 28 deletions _raw/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@

# Changelog

## 3.2.2

- [#210](https://github.com/amsul/pickadate.js/issues/210): Fixed jQuery conflict in picker extension files.
- [#223](https://github.com/amsul/pickadate.js/issues/223): Time picker “disabled” attribute fix.

## 3.2.1

- [#210]({%= meta.gitrepo_url %}/issues/210): Wrapped files using UMD patterns.
- [#207]({%= meta.gitrepo_url %}/issues/207): Japanese translations added.
- [#210](https://github.com/amsul/pickadate.js/issues/210): Wrapped files using UMD patterns.
- [#207](https://github.com/amsul/pickadate.js/issues/207): Japanese translations added.
- Some other slight improvements.

## 3.2.0

- [#178]({%= meta.gitrepo_url %}/issues/178): Fix for flicker on iOS while changing months.
- Added `render(true)` option to render full picker or just the “face” ([read more]({%= pkg.homepage %}/api.htm#method-render)).
- [#178](https://github.com/amsul/pickadate.js/issues/178): Fix for flicker on iOS while changing months.
- Added `render(true)` option to render full picker or just the “face” ([read more](http://amsul.github.io/pickadate.js/api.htm#method-render)).

## 3.1.4

Expand All @@ -24,54 +29,54 @@

## 3.1.2

- [#168]({%= meta.gitrepo_url %}/issues/168): Fixed month navigation with disabled dates.
- [#168](https://github.com/amsul/pickadate.js/issues/168): Fixed month navigation with disabled dates.

## 3.1.1

- [#161]({%= meta.gitrepo_url %}/issues/161): Corrected “no-drop” cursor on input element for certain browsers.
- [#158]({%= meta.gitrepo_url %}/issues/158): Fixed CSS for disabled dates with unfocused input.
- [#155]({%= meta.gitrepo_url %}/issues/155): Corrected unescaped translations.
- [#161](https://github.com/amsul/pickadate.js/issues/161): Corrected “no-drop” cursor on input element for certain browsers.
- [#158](https://github.com/amsul/pickadate.js/issues/158): Fixed CSS for disabled dates with unfocused input.
- [#155](https://github.com/amsul/pickadate.js/issues/155): Corrected unescaped translations.

## 3.1.0

- [#140]({%= meta.gitrepo_url %}/issues/140): Fix for freezing with unexpected date format.
- [#154]({%= meta.gitrepo_url %}/issues/154): Fix for “mm” and “m” formats opening with incorrect month.
- [#140](https://github.com/amsul/pickadate.js/issues/140): Fix for freezing with unexpected date format.
- [#154](https://github.com/amsul/pickadate.js/issues/154): Fix for “mm” and “m” formats opening with incorrect month.
- Border styling adjusted for disabled times.

## v3.0.5

- [#145]({%= meta.gitrepo_url %}/issues/145): Fix for `getFirstWordLength` not being defined.
- [#137]({%= meta.gitrepo_url %}/issues/137): Corrected Norwegian translation.
- [#145](https://github.com/amsul/pickadate.js/issues/145): Fix for `getFirstWordLength` not being defined.
- [#137](https://github.com/amsul/pickadate.js/issues/137): Corrected Norwegian translation.

## v3.0.4

- [#132]({%= meta.gitrepo_url %}/issues/132): Fix for using `firstDay` with month starting on Sunday.
- [#132](https://github.com/amsul/pickadate.js/issues/132): Fix for using `firstDay` with month starting on Sunday.
- Improved disabled dates validation.

## v3.0.3

- [#126]({%= meta.gitrepo_url %}/issues/126): Fix for all dates disabled.
- [#127]({%= meta.gitrepo_url %}/issues/127): Fix for jQuery no conflict.
- [#129]({%= meta.gitrepo_url %}/issues/129): Fix for month nav wrapping around same year.
- [#126](https://github.com/amsul/pickadate.js/issues/126): Fix for all dates disabled.
- [#127](https://github.com/amsul/pickadate.js/issues/127): Fix for jQuery no conflict.
- [#129](https://github.com/amsul/pickadate.js/issues/129): Fix for month nav wrapping around same year.

## v3.0.2

- [#124]({%= meta.gitrepo_url %}/issues/124): Fixed bug with navigating past year.
- [#124](https://github.com/amsul/pickadate.js/issues/124): Fixed bug with navigating past year.

## v3.0.1

- [#123]({%= meta.gitrepo_url %}/issues/123): Removed `hiddenSuffix` extra quote character.
- [#123](https://github.com/amsul/pickadate.js/issues/123): Removed `hiddenSuffix` extra quote character.
- Fixed issue with month navigation on the 31st date.

## v3.0.0

With this major release, the entire API has been rethought to allow the picker to be much more configurable and extensible. These are the most notable updates:

- [#20]({%= meta.gitrepo_url %}/issues/20): Introduced a new [time picker]({%= pkg.homepage %}/time.htm).
- [#112]({%= meta.gitrepo_url %}/issues/112): Firefox select month/year fix.
- [#84]({%= meta.gitrepo_url %}/issues/84): Scrollbar not hidden to avoid page shift.
- [#89]({%= meta.gitrepo_url %}/issues/89): Better event handling on clicks/focuses/keydowns within the holder.
- [#98]({%= meta.gitrepo_url %}/issues/98): Destroy picker data from element.
- [#20](https://github.com/amsul/pickadate.js/issues/20): Introduced a new [time picker](http://amsul.github.io/pickadate.js/time.htm).
- [#112](https://github.com/amsul/pickadate.js/issues/112): Firefox select month/year fix.
- [#84](https://github.com/amsul/pickadate.js/issues/84): Scrollbar not hidden to avoid page shift.
- [#89](https://github.com/amsul/pickadate.js/issues/89): Better event handling on clicks/focuses/keydowns within the holder.
- [#98](https://github.com/amsul/pickadate.js/issues/98): Destroy picker data from element.
- Added Grunt.js build system.
- Added QUnit test suite.
- Added Travis integration.
Expand All @@ -83,7 +88,7 @@ With this major release, the entire API has been rethought to allow the picker t
To enable all this goodness, some **backward-incompatible changes** have been introduced. These are the main ones:

<a name="zero-as-index"></a>
- [#85]({%= meta.gitrepo_url %}/issues/85): Months have __zero-as-index__:
- [#85](https://github.com/amsul/pickadate.js/issues/85): Months have __zero-as-index__:

Just as in JavaScript’s native Date object, the `month` used to create dates is now based on zero as the first index. Meaning:

Expand Down Expand Up @@ -124,21 +129,21 @@ To enable all this goodness, some **backward-incompatible changes** have been in
```
To add labels for the month navigation tabs, use CSS pseudo-elements instead.

- A few [HTML classes]({%= pkg.homepage %}/date.htm#classes) name and property changes.
- A few [HTML classes](http://amsul.github.io/pickadate.js/date.htm#classes) name and property changes.

- [Formatting rules]({%= pkg.homepage %}/date.htm#formats) that appear within a word need to be escaped with an exclamation mark (!).
- [Formatting rules](http://amsul.github.io/pickadate.js/date.htm#formats) that appear within a word need to be escaped with an exclamation mark (!).


<br>
#### Please do read the [docs]({%= pkg.homepage %}/date.htm#options) and [api]({%= pkg.homepage %}/api.htm) to see exactly how these new options and methods work.
#### Please do read the [docs](http://amsul.github.io/pickadate.js/date.htm#options) and [api](http://amsul.github.io/pickadate.js/api.htm) to see exactly how these new options and methods work.




<br>
## Older changelogs

If you’re looking for changes in older versions, please [browse the tags]({%= meta.gitrepo_url %}/tags) for the relevant commit archive and changelog file.
If you’re looking for changes in older versions, please [browse the tags](https://github.com/amsul/pickadate.js/tags) for the relevant commit archive and changelog file.



2 changes: 1 addition & 1 deletion _raw/base.htm
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed{%= page == 'date' ? ' menu__link--active' : '' %}" href="date.htm">Date picker</a></li>
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed{%= page == 'time' ? ' menu__link--active' : '' %}" href="time.htm">Time picker</a></li>
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed{%= page == 'api' ? ' menu__link--active' : '' %}" href="api.htm">API</a></li>
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed{%= page == 'v2' ? ' menu__link--active' : '' %}" href="v2/index.htm">v2.1.8</a></li>
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed{%= page == 'v2' ? ' menu__link--active' : '' %}" href="v2-(deprecated)/index.htm">v2.1.8</a></li>
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed" href="{%= meta.gitrepo_url %}">Github</a></li>
<li class="menu__item menu__item--responsive page-target__reveal menu__item--trail">
<span class="menu__link">Themes: <input class="theme-toggle__input" type="radio" id="show_theme_default" name="show_theme" value="default" checked hidden><label class="theme-toggle__label" for="show_theme_default">default</label> and <input class="theme-toggle__input" type="radio" id="show_theme_classic" name="show_theme" value="classic" hidden><label class="theme-toggle__label" for="show_theme_classic" class="checked-negative">classic</label></span>
Expand Down
16 changes: 8 additions & 8 deletions api.htm
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed" href="date.htm">Date picker</a></li>
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed" href="time.htm">Time picker</a></li>
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed menu__link--active" href="api.htm">API</a></li>
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed" href="v2/index.htm">v2.1.8</a></li>
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed" href="v2-(deprecated)/index.htm">v2.1.8</a></li>
<li class="menu__item menu__item--responsive page-target__reveal"><a class="menu__link menu__link--dimmed" href="https://github.com/amsul/pickadate.js">Github</a></li>
<li class="menu__item menu__item--responsive page-target__reveal menu__item--trail">
<span class="menu__link">Themes: <input class="theme-toggle__input" type="radio" id="show_theme_default" name="show_theme" value="default" checked hidden><label class="theme-toggle__label" for="show_theme_default">default</label> and <input class="theme-toggle__input" type="radio" id="show_theme_classic" name="show_theme" value="classic" hidden><label class="theme-toggle__label" for="show_theme_classic" class="checked-negative">classic</label></span>
Expand Down Expand Up @@ -269,7 +269,7 @@ <h2 class="heading heading--divide"><span class="heading__text">Clear<a class="h

<pre class="pre--demo"><code data-language="javascript">picker.clear()</code></pre>

<fieldset class="fieldset fieldset--demo js__fieldset"><div class="fieldset__wrapper"><button id=button__api-clear class="fieldset__button button button--small">Clear</button><input id="demo__api-clear" class="fieldset__input " type=text value="24 August, 2013" placeholder="Try me&hellip;"></div></fieldset>
<fieldset class="fieldset fieldset--demo js__fieldset"><div class="fieldset__wrapper"><button id=button__api-clear class="fieldset__button button button--small">Clear</button><input id="demo__api-clear" class="fieldset__input " type=text value="17 September, 2013" placeholder="Try me&hellip;"></div></fieldset>

<p>This is a shorthand that uses <a href="#method-set">the <code class="function">set</code> method</a> behind the scenes.</p>

Expand Down Expand Up @@ -332,16 +332,16 @@ <h3 class="heading heading--divide"><span class="heading__text"><b>*</b> Item Ob
pick: 1366430400000
}</code></pre>

<p>Here’s a <b>time picker item object</b> for <u>6:49 PM</u>:</p>
<p>Here’s a <b>time picker item object</b> for <u>12:28 PM</u>:</p>
<pre><code data-language="javascript">{
// Hour of the day from 0 to 23.
hour: 18,
hour: 12,

// The minutes of the hour from 0 to 59 (based on the interval).
mins: 0,
mins: 30,

// The “pick” value used for comparisons.
pick: 1140
pick: 750
}</code></pre>

</div> <!-- .section__block -->
Expand All @@ -359,7 +359,7 @@ <h2 class="heading heading--divide"><span class="heading__text">Get <code class=

<pre class="pre--demo"><code data-language="javascript">picker.get() // Short for `picker.get('value')`.</code></pre>

<fieldset class="fieldset fieldset--demo js__fieldset"><div class="fieldset__wrapper"><button id=button__api-get--value class="fieldset__button button button--small">Log the value</button><input id="demo__api-get--value" class="fieldset__input " type=text value="24 August, 2013" placeholder="Open your console and try me&hellip;"></div></fieldset>
<fieldset class="fieldset fieldset--demo js__fieldset"><div class="fieldset__wrapper"><button id=button__api-get--value class="fieldset__button button button--small">Log the value</button><input id="demo__api-get--value" class="fieldset__input " type=text value="17 September, 2013" placeholder="Open your console and try me&hellip;"></div></fieldset>

</div> <!-- .section__block -->

Expand Down Expand Up @@ -526,7 +526,7 @@ <h2 class="heading heading--divide"><span class="heading__text">Set <code class=

<pre class="pre--demo"><code data-language="javascript">picker.set('clear')</code></pre>

<fieldset class="fieldset fieldset--demo js__fieldset"><div class="fieldset__wrapper"><button id=button__api-set-clear class="fieldset__button button button--small">Clear</button><input id="demo__api-set-clear" class="fieldset__input " type=text value="24 August, 2013" placeholder="Try me&hellip;"></div></fieldset>
<fieldset class="fieldset fieldset--demo js__fieldset"><div class="fieldset__wrapper"><button id=button__api-set-clear class="fieldset__button button button--small">Clear</button><input id="demo__api-set-clear" class="fieldset__input " type=text value="17 September, 2013" placeholder="Try me&hellip;"></div></fieldset>

<p>This is the full form of <a href="#method-clear">the <code class="function">clear</code> method</a>.</p>

Expand Down
6 changes: 6 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"ignore": [
"*",
"!lib/"
]
}
Loading

0 comments on commit 9aaffd2

Please sign in to comment.