refactor(template loading): add support for base URLs, css rewriting
fixes #654
This commit is contained in:
2
modules/angular2/src/mock/xhr_mock.js
vendored
2
modules/angular2/src/mock/xhr_mock.js
vendored
@ -60,7 +60,7 @@ export class XHRMock extends XHR {
|
||||
|
||||
if (this._expectations.length > 0) {
|
||||
var expectation = this._expectations[0];
|
||||
if (expectation.url === url) {
|
||||
if (expectation.url == url) {
|
||||
ListWrapper.remove(this._expectations, expectation);
|
||||
request.complete(expectation.response);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user