diff --git a/modules/@angular/http/src/backends/browser_jsonp.ts b/modules/@angular/http/src/backends/browser_jsonp.ts index 2734836afc..022431c136 100644 --- a/modules/@angular/http/src/backends/browser_jsonp.ts +++ b/modules/@angular/http/src/backends/browser_jsonp.ts @@ -32,23 +32,23 @@ export class BrowserJsonp { nextRequestID(): string { return `__req${_nextRequestId++}`; } - requestCallback(id: string): string { return `${JSONP_HOME}.${id}.finished`; } + requestCallback(id: string): string { return `${JSONP_HOME}${id}_finished`; } - exposeConnection(id: string, connection: any) { + exposeConnection(id: string, connection: any): void { const connections = _getJsonpConnections(); connections[id] = connection; } - removeConnection(id: string) { + removeConnection(id: string): void { const connections = _getJsonpConnections(); connections[id] = null; } // Attach the