vue-async-methods
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -131,2 +131,4 @@ 'use strict' | ||
created() { | ||
this.method.handleErrorInView = true | ||
if (this.method.promise) { | ||
@@ -133,0 +135,0 @@ this.catchError() |
{ | ||
"name": "vue-async-methods", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Vue async methods support", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -48,3 +48,3 @@ # vue-async-methods [![Build Status](https://travis-ci.org/mokkabonna/vue-async-methods.svg?branch=master)](https://travis-ci.org/mokkabonna/vue-async-methods) | ||
fetchArticles() { | ||
return ajax('http://example.com/data.json') //must return a promise | ||
return ajax('http://example.com/data.json') | ||
} | ||
@@ -51,0 +51,0 @@ }, |
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
10059
157