@angular/http
Advanced tools
Comparing version 0.0.0-3 to 0.0.0-4
@@ -63,2 +63,3 @@ export interface BrowserNodeGlobal { | ||
export declare function isStringMap(obj: any): boolean; | ||
export declare function isStrictStringMap(obj: any): boolean; | ||
export declare function isPromise(obj: any): boolean; | ||
@@ -65,0 +66,0 @@ export declare function isArray(obj: any): boolean; |
@@ -84,2 +84,6 @@ var globalScope; | ||
} | ||
const STRING_MAP_PROTO = Object.getPrototypeOf({}); | ||
export function isStrictStringMap(obj) { | ||
return isStringMap(obj) && Object.getPrototypeOf(obj) === STRING_MAP_PROTO; | ||
} | ||
export function isPromise(obj) { | ||
@@ -86,0 +90,0 @@ return obj instanceof _global.Promise; |
{ | ||
"name": "@angular/http", | ||
"version": "0.0.0-3", | ||
"version": "0.0.0-4", | ||
"description": "", | ||
@@ -12,4 +12,4 @@ "main": "index.js", | ||
"rxjs": "5.0.0-beta.6", | ||
"@angular/core": "0.0.0-3" | ||
"@angular/core": "0.0.0-4" | ||
} | ||
} |
@@ -63,2 +63,3 @@ export interface BrowserNodeGlobal { | ||
export declare function isStringMap(obj: any): boolean; | ||
export declare function isStrictStringMap(obj: any): boolean; | ||
export declare function isPromise(obj: any): boolean; | ||
@@ -65,0 +66,0 @@ export declare function isArray(obj: any): boolean; |
@@ -103,2 +103,7 @@ "use strict"; | ||
exports.isStringMap = isStringMap; | ||
var STRING_MAP_PROTO = Object.getPrototypeOf({}); | ||
function isStrictStringMap(obj) { | ||
return isStringMap(obj) && Object.getPrototypeOf(obj) === STRING_MAP_PROTO; | ||
} | ||
exports.isStrictStringMap = isStrictStringMap; | ||
function isPromise(obj) { | ||
@@ -105,0 +110,0 @@ return obj instanceof _global.Promise; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
694830
10718