Skip to content

Commit

Permalink
Tag v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbeauvais committed Feb 11, 2017
1 parent cae77eb commit eaf9136
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<a name="1.0.1"></a>
# [1.0.1](https://github.com/nicolasbeauvais/vue-social-sharing/compare/1.0.0...1.0.1) (2017-02-11)
- Fix error when using null start or end parameters

<a name="1.0.0"></a>
# 1.0.0 (2017-02-10)
- Initial version
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-add-to-calendar",
"version": "0.0.1",
"version": "1.0.1",
"homepage": "https://github.com/nicolasbeauvais/vue-add-to-calendar",
"authors": [
"nicolasbeauvais <nicolasbeauvais1@gmail.com>"
Expand Down
6 changes: 3 additions & 3 deletions dist/vue-add-to-calendar.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-add-to-calendar v1.0.0
* vue-add-to-calendar v1.0.1
* (c) 2017 nicolasbeauvais
* Released under the MIT License.
*/
Expand Down Expand Up @@ -93,7 +93,7 @@ var AddToCalendar = {
},

formattedDate: function formattedDate (date) {
return date.toISOString().replace(/-|:|\.\d+/g, '');
return date ? date.toISOString().replace(/-|:|\.\d+/g, '') : null;
}
},

Expand All @@ -116,7 +116,7 @@ var AddToCalendar = {
}
};

AddToCalendar.version = '1.0.0';
AddToCalendar.version = '1.0.1';

AddToCalendar.install = function (Vue) {
Vue.component('add-to-calendar', AddToCalendar);
Expand Down
6 changes: 3 additions & 3 deletions dist/vue-add-to-calendar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-add-to-calendar v1.0.0
* vue-add-to-calendar v1.0.1
* (c) 2017 nicolasbeauvais
* Released under the MIT License.
*/
Expand Down Expand Up @@ -97,7 +97,7 @@ var AddToCalendar = {
},

formattedDate: function formattedDate (date) {
return date.toISOString().replace(/-|:|\.\d+/g, '');
return date ? date.toISOString().replace(/-|:|\.\d+/g, '') : null;
}
},

Expand All @@ -120,7 +120,7 @@ var AddToCalendar = {
}
};

AddToCalendar.version = '1.0.0';
AddToCalendar.version = '1.0.1';

AddToCalendar.install = function (Vue) {
Vue.component('add-to-calendar', AddToCalendar);
Expand Down
4 changes: 2 additions & 2 deletions dist/vue-add-to-calendar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-add-to-calendar",
"description": "A Vue.js component that provides 'Add to Calendar' functionality",
"version": "1.0.0",
"version": "1.0.1",
"author": {
"name": "nicolasbeauvais",
"email": "nicolasbeauvais1@gmail.com"
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import AddToCalendar from './add-to-calendar';

AddToCalendar.version = '1.0.0';
AddToCalendar.version = '1.0.1';

AddToCalendar.install = (Vue) => {
Vue.component('add-to-calendar', AddToCalendar);
Expand Down

0 comments on commit eaf9136

Please sign in to comment.