ng2-wp-api
Advanced tools
Comparing version 1.1.5 to 1.1.6
{ | ||
"name": "ng2-wp-api", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "WordPress API Service for Angular2", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -132,8 +132,5 @@ "use strict"; | ||
else { | ||
// return Observable.create( | ||
// (observer) =>{ | ||
// observer.complete(); | ||
// } | ||
// ); | ||
return new Observable_1.Observable(); | ||
return Observable_1.Observable.create((observer) => { | ||
observer.complete(); | ||
}); | ||
} | ||
@@ -140,0 +137,0 @@ }; |
@@ -141,10 +141,7 @@ import {Injectable} from '@angular/core'; | ||
else { | ||
// return Observable.create( | ||
// (observer) =>{ | ||
// observer.complete(); | ||
// } | ||
// ); | ||
return new Observable<Response>(); | ||
return Observable.create( | ||
(observer) =>{ | ||
observer.complete(); | ||
} | ||
); | ||
//return Rx.Observable.empty(); | ||
@@ -151,0 +148,0 @@ } |
Sorry, the diff of this file is not supported yet
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
507501
1338