angular2
Version:
Angular 2 - a web framework for modern web apps
40 lines • 1.65 kB
JavaScript
;var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var application_ref_1 = require('angular2/src/core/application_ref');
var MockApplicationRef = (function (_super) {
__extends(MockApplicationRef, _super);
function MockApplicationRef() {
_super.apply(this, arguments);
}
MockApplicationRef.prototype.registerBootstrapListener = function (listener) { };
MockApplicationRef.prototype.registerDisposeListener = function (dispose) { };
MockApplicationRef.prototype.bootstrap = function (componentType, bindings) {
return null;
};
Object.defineProperty(MockApplicationRef.prototype, "injector", {
get: function () { return null; },
enumerable: true,
configurable: true
});
;
Object.defineProperty(MockApplicationRef.prototype, "zone", {
get: function () { return null; },
enumerable: true,
configurable: true
});
;
MockApplicationRef.prototype.dispose = function () { };
MockApplicationRef.prototype.tick = function () { };
Object.defineProperty(MockApplicationRef.prototype, "componentTypes", {
get: function () { return null; },
enumerable: true,
configurable: true
});
;
return MockApplicationRef;
})(application_ref_1.ApplicationRef);
exports.MockApplicationRef = MockApplicationRef;
//# sourceMappingURL=mock_application_ref.js.map