🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

vue-ref

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-ref - npm Package Compare versions

Comparing version

to
1.0.6

6

index.js

@@ -9,3 +9,3 @@ "use strict";

var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var directiveName = options.name || 'ref'
var directiveName = options.name || 'ref';
Vue.directive(directiveName, {

@@ -33,5 +33,3 @@ bind: function bind(el, binding, vnode) {

unbind: function unbind(el, binding, vnode) {
Vue.nextTick(function () {
binding.value(null, vnode.key);
});
binding.value(null, vnode.key);
}

@@ -38,0 +36,0 @@ });

{
"name": "vue-ref",
"version": "1.0.5",
"version": "1.0.6",
"title": "Vue Ref",

@@ -5,0 +5,0 @@ "description": "use the callback to get a reference like react",