diff --git a/CHANGELOG.md b/CHANGELOG.md index 27f07f9..359077c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [2.0.0] - 2016-10-20 + +### Breaking changes +- Removed deprecated submodules + ## [2.0.0-rc.1] - 2016-09-30 Reworked for Vue 2.0 @@ -72,4 +77,5 @@ Initial release [1.1.3]: https://github.com/simplesmiler/vue-clickaway/compare/1.1.2...1.1.3 [1.1.5]: https://github.com/simplesmiler/vue-clickaway/compare/1.1.3...1.1.5 -[2.0.0]: https://github.com/simplesmiler/vue-clickaway/compare/1.1.5...2.0.0 +[2.0.0-rc.1]: https://github.com/simplesmiler/vue-clickaway/compare/1.1.5...2.0.0-rc.1 +[2.0.0]: https://github.com/simplesmiler/vue-clickaway/compare/2.0.0-rc.1...2.0.0 diff --git a/README.md b/README.md index 47fc257..a3f8ad9 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ the [demo](https://jsfiddle.net/simplesmiler/4w1cs8u3/) before reading further. ## Requirements -- vue: ^2.0.0-rc.1 +- vue: ^2.0.0 If you need a version for Vue 1, try `vue-clickaway@1.0`. diff --git a/dist/vue-clickaway.common.js b/dist/vue-clickaway.common.js index c1e8c93..4d6c437 100644 --- a/dist/vue-clickaway.common.js +++ b/dist/vue-clickaway.common.js @@ -3,7 +3,7 @@ var Vue = require('vue'); Vue = 'default' in Vue ? Vue['default'] : Vue; -var version = '2.0.0-rc.1'; +var version = '2.0.0'; var compatible = (/^2\./).test(Vue.version); if (!compatible) { diff --git a/dist/vue-clickaway.js b/dist/vue-clickaway.js index 2744cc6..cee17a6 100644 --- a/dist/vue-clickaway.js +++ b/dist/vue-clickaway.js @@ -2,7 +2,7 @@ Vue = 'default' in Vue ? Vue['default'] : Vue; - var version = '2.0.0-rc.1'; + var version = '2.0.0'; var compatible = (/^2\./).test(Vue.version); if (!compatible) { diff --git a/dist/vue-clickaway.min.js b/dist/vue-clickaway.min.js index f08ddf2..44404cc 100644 --- a/dist/vue-clickaway.min.js +++ b/dist/vue-clickaway.min.js @@ -1 +1 @@ -!function(e,n){"use strict";function t(e,n){i(e);var t=n.value;"function"==typeof t&&(e[a]=function(n){if(!e.contains(n.target))return t(n)},document.documentElement.addEventListener("click",e[a],!1))}function i(e){document.documentElement.removeEventListener("click",e[a],!1),delete e[a]}n="default"in n?n.default:n;var u="2.0.0-rc.1",c=/^2\./.test(n.version);c||n.util.warn("VueClickaway "+u+" only supports Vue 2.x, and does not support Vue "+n.version);var a="_vue_clickaway_handler",o={bind:t,update:function(e,n){n.value!==n.oldValue&&t(e,n)},unbind:i},r={directives:{onClickaway:o}};e.version=u,e.directive=o,e.mixin=r}(this.VueClickaway={},Vue); \ No newline at end of file +!function(e,n){"use strict";function t(e,n){i(e);var t=n.value;"function"==typeof t&&(e[c]=function(n){if(!e.contains(n.target))return t(n)},document.documentElement.addEventListener("click",e[c],!1))}function i(e){document.documentElement.removeEventListener("click",e[c],!1),delete e[c]}n="default"in n?n.default:n;var u="2.0.0",a=/^2\./.test(n.version);a||n.util.warn("VueClickaway "+u+" only supports Vue 2.x, and does not support Vue "+n.version);var c="_vue_clickaway_handler",o={bind:t,update:function(e,n){n.value!==n.oldValue&&t(e,n)},unbind:i},r={directives:{onClickaway:o}};e.version=u,e.directive=o,e.mixin=r}(this.VueClickaway={},Vue); \ No newline at end of file diff --git a/index.js b/index.js index 2f7ef72..1b363db 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ import Vue from 'vue'; -export var version = '2.0.0-rc.1'; +export var version = '2.0.0'; var compatible = (/^2\./).test(Vue.version); if (!compatible) { diff --git a/package.json b/package.json index 7234312..0efb650 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-clickaway", "description": "Reusable clickaway directive for reusable Vue.js components", - "version": "2.0.0-rc.1", + "version": "2.0.0", "author": "Denis Karabaza ", "browserify": { "transform": [ @@ -33,7 +33,7 @@ "license": "MIT", "main": "dist/vue-clickaway.common.js", "peerDependencies": { - "vue": "^2.0.0-rc.1" + "vue": "^2.0.0" }, "repository": { "type": "git",