From 9465a8eadc05f0840b2000fbda7a44f8a74e0308 Mon Sep 17 00:00:00 2001 From: mimaison Date: Wed, 2 Oct 2013 15:46:06 +0200 Subject: [PATCH 1/3] Remove Google Analytics tracker --- index.html | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/index.html b/index.html index 771c6c8..d08b371 100644 --- a/index.html +++ b/index.html @@ -9,16 +9,6 @@ - - + + @@ -44,7 +44,7 @@ - Fork me on GitHub + Fork me on GitHub
diff --git a/mm.itemselector.js b/mm.itemselector.js index 9ce0c3a..28a7d8a 100644 --- a/mm.itemselector.js +++ b/mm.itemselector.js @@ -8,7 +8,7 @@ (function($) { 'use strict'; $.widget('mm.itemselector', { - version: '1.0.0', + version: '1.0.3', options: { items: [], @@ -78,8 +78,13 @@ $.widget('mm.itemselector', { $(this.element).accordion({ active: index }); + }, + + _destroy: function() { + $(this.element).empty(); + $(this.element).accordion('destroy'); } }); -}(jQuery)); \ No newline at end of file +}(jQuery)); diff --git a/mm.monthselector.jquery.json b/mm.monthselector.jquery.json index 54f4b5b..6e12102 100755 --- a/mm.monthselector.jquery.json +++ b/mm.monthselector.jquery.json @@ -1,7 +1,7 @@ { "name": "mm.monthselector", "title": "jQuery Month selector", - "description": "jQueryUI Widget that enables to display and select Month using the mm.itemselector widget", + "description": "jQueryUI Widget that enables to display and select a month and year using the mm.itemselector widget", "keywords": [ "ui", "selection", @@ -11,7 +11,7 @@ "date", "month" ], - "version": "1.0.0", + "version": "1.0.1", "author": { "name": "Mickael Maison", "url": "http://www.mickaelmaison.com" @@ -25,7 +25,7 @@ ], "dependencies": { "jquery": ">=1.6", - "mm.itemselector": ">=1.0.1" + "mm.itemselector": ">=1.0.3" } } diff --git a/mm.monthselector.js b/mm.monthselector.js index 31be947..d4728db 100755 --- a/mm.monthselector.js +++ b/mm.monthselector.js @@ -8,7 +8,7 @@ (function($) { 'use strict'; $.widget('mm.monthselector', { - version: '1.0', + version: '1.0.1', options: { names: [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ], @@ -64,8 +64,12 @@ $.widget('mm.monthselector', { $(this.element).itemsel({selected: [ value.getFullYear(), value.getMonth() ] }); } } + }, + + _destroy: function() { + $(this.element).itemselector('destroy'); } }); -}(jQuery)); \ No newline at end of file +}(jQuery)); From 7c4df97e44364764840aa79f9d8900b028b84322 Mon Sep 17 00:00:00 2001 From: mimaison Date: Tue, 22 Oct 2013 15:09:42 +0200 Subject: [PATCH 3/3] Updated README --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index abc3e74..7d058f9 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,5 @@ http://plugins.jquery.com/mm.monthselector/ ## Version History ## -**1.0.0** - -* initial release +* [1.0.1](https://github.com/mimaison/jQueryUI-Month-Selector/releases/tag/1.0.1) +* [1.0.0](https://github.com/mimaison/jQueryUI-Month-Selector/releases/tag/1.0.0)