predictionio
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -25,4 +25,4 @@ var request = require('superagent') | ||
if (err || !res) deferred.reject(err) | ||
deferred.resolve(res.body) | ||
if (err || !res || !res.body) deferred.reject(err) | ||
else deferred.resolve(res.body) | ||
@@ -45,4 +45,4 @@ }) | ||
if (err || !res) deferred.reject(err) | ||
deferred.resolve(res.body) | ||
if (err || !res || !res.body) deferred.reject(err) | ||
else deferred.resolve(res.body) | ||
@@ -65,4 +65,4 @@ }) | ||
if (err || !res) deferred.reject(err) | ||
deferred.resolve(res.body) | ||
if (err || !res || !res.body) deferred.reject(err) | ||
else deferred.resolve(res.body) | ||
@@ -102,4 +102,4 @@ }) | ||
if (err || !res) deferred.reject(err) | ||
deferred.resolve(res.body) | ||
if (err || !res || !res.body) deferred.reject(err) | ||
else deferred.resolve(res.body) | ||
@@ -139,4 +139,4 @@ }) | ||
if (err || !res) deferred.reject(err) | ||
deferred.resolve(res.body) | ||
if (err || !res || !res.body) deferred.reject(err) | ||
else deferred.resolve(res.body) | ||
@@ -143,0 +143,0 @@ }) |
@@ -25,4 +25,4 @@ var request = require('superagent') | ||
if (err || !res) deferred.reject(err) | ||
deferred.resolve(res.body) | ||
if (err || !res || !res.body) deferred.reject(err) | ||
else deferred.resolve(res.body) | ||
@@ -45,4 +45,4 @@ }) | ||
if (err || !res) deferred.reject(err) | ||
deferred.resolve(res.body) | ||
if (err || !res || !res.body) deferred.reject(err) | ||
else deferred.resolve(res.body) | ||
@@ -67,4 +67,4 @@ }) | ||
if (err || !res) deferred.reject(err) | ||
deferred.resolve(res.body) | ||
if (err || !res || !res.body) deferred.reject(err) | ||
else deferred.resolve(res.body) | ||
@@ -87,4 +87,4 @@ }) | ||
if (err || !res) deferred.reject(err) | ||
deferred.resolve(res.body) | ||
if (err || !res || !res.body) deferred.reject(err) | ||
else deferred.resolve(res.body) | ||
@@ -91,0 +91,0 @@ }) |
{ | ||
"name": "predictionio", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "PredictionIO Node SDK", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
31667