nuxt-interpolation
Advanced tools
+16
-1
@@ -1,5 +0,20 @@ | ||
| # Change Log | ||
| # Changelog | ||
| All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
| ### [0.2.6](https://github.com/daliborgogic/nuxt-interpolation/compare/v0.2.2...v0.2.6) (2021-11-06) | ||
| ### Bug Fixes | ||
| * [#12](https://github.com/daliborgogic/nuxt-interpolation/issues/12) ([6913085](https://github.com/daliborgogic/nuxt-interpolation/commit/691308561d22db2eea5aedc06f6aa51522c61de5)) | ||
| * merge rel attributes ([48f718c](https://github.com/daliborgogic/nuxt-interpolation/commit/48f718ca44cca2cae85c5d7815847adb4f07d9ed)) | ||
| ### [0.2.5](https://github.com/daliborgogic/nuxt-interpolation/compare/v0.2.2...v0.2.5) (2021-11-06) | ||
| ### Bug Fixes | ||
| * [#12](https://github.com/daliborgogic/nuxt-interpolation/issues/12) ([6913085](https://github.com/daliborgogic/nuxt-interpolation/commit/691308561d22db2eea5aedc06f6aa51522c61de5)) | ||
| <a name="0.2.2"></a> | ||
@@ -6,0 +21,0 @@ ## [0.2.2](https://github.com/daliborgogic/nuxt-interpolation/compare/v0.2.1...v0.2.2) (2018-09-13) |
@@ -25,3 +25,5 @@ import Vue from 'vue' | ||
| if (target && target === '_blank') { | ||
| links[i].setAttribute('rel', 'noopener') | ||
| const rel = links[i].getAttribute('rel') | ||
| const attributes = rel ? (rel + ' noopener') : 'noopener' | ||
| links[i].setAttribute('rel', attributes) | ||
| } | ||
@@ -28,0 +30,0 @@ links[i].addEventListener('click', navigate, false) |
+3
-3
| { | ||
| "name": "nuxt-interpolation", | ||
| "version": "0.2.3", | ||
| "version": "0.2.6", | ||
| "description": "Directive for binding every link to catch the click event, and if it's a relative link router will push.", | ||
@@ -34,3 +34,3 @@ "main": "lib/module.js", | ||
| "devDependencies": { | ||
| "eslint": "^5.5.0", | ||
| "eslint": "^8.2.0", | ||
| "eslint-config-standard": "^12.0.0", | ||
@@ -41,4 +41,4 @@ "eslint-plugin-import": "^2.14.0", | ||
| "eslint-plugin-standard": "^4.0.0", | ||
| "standard-version": "^4.4.0" | ||
| "standard-version": "^8.0.1" | ||
| } | ||
| } |
6850
14.34%56
3.7%