1 | var __extends = (this && this.__extends) || (function () {
|
2 | var extendStatics = Object.setPrototypeOf ||
|
3 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
4 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
5 | return function (d, b) {
|
6 | extendStatics(d, b);
|
7 | function __() { this.constructor = d; }
|
8 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
9 | };
|
10 | })();
|
11 | import { Injectable } from "@angular/core";
|
12 | var TranslateCompiler = (function () {
|
13 | function TranslateCompiler() {
|
14 | }
|
15 | return TranslateCompiler;
|
16 | }());
|
17 | export { TranslateCompiler };
|
18 |
|
19 |
|
20 |
|
21 | var TranslateFakeCompiler = (function (_super) {
|
22 | __extends(TranslateFakeCompiler, _super);
|
23 | function TranslateFakeCompiler() {
|
24 | return _super !== null && _super.apply(this, arguments) || this;
|
25 | }
|
26 | TranslateFakeCompiler.prototype.compile = function (value, lang) {
|
27 | return value;
|
28 | };
|
29 | TranslateFakeCompiler.prototype.compileTranslations = function (translations, lang) {
|
30 | return translations;
|
31 | };
|
32 | return TranslateFakeCompiler;
|
33 | }(TranslateCompiler));
|
34 | export { TranslateFakeCompiler };
|
35 | TranslateFakeCompiler.decorators = [
|
36 | { type: Injectable },
|
37 | ];
|
38 |
|
39 | TranslateFakeCompiler.ctorParameters = function () { return []; };
|