vue-async-methods
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -14,3 +14,3 @@ 'use strict' | ||
return Object.keys(val).length === 0 | ||
} else if (val === null) { | ||
} else if (val === null || val === undefined) { | ||
return true | ||
@@ -82,2 +82,6 @@ } else { | ||
vm[funcName].promise = new Promise(function(resolve) { | ||
vm[funcName].isPending = false | ||
vm[funcName].isResolved = true | ||
vm[funcName].resolvedWith = result | ||
var empty = isEmpty(result) | ||
@@ -84,0 +88,0 @@ vm[funcName].resolvedWithEmpty = empty |
{ | ||
"name": "vue-async-methods", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "Vue async methods support", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10609
167