UNPKG

leaf-framework

Version:
34 lines 1.34 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { Injectable } from '@angular/core'; import { Http } from '@angular/http'; import { JsonFileService } from '../services/json-file.service'; var LanguageService = /** @class */ (function (_super) { __extends(LanguageService, _super); function LanguageService(http) { var _this = _super.call(this, http) || this; _this.http = http; return _this; } LanguageService.prototype.getFilePath = function () { return 'assets/data/languages.json'; }; LanguageService.decorators = [ { type: Injectable }, ]; /** @nocollapse */ LanguageService.ctorParameters = function () { return [ { type: Http, }, ]; }; return LanguageService; }(JsonFileService)); export { LanguageService }; //# sourceMappingURL=language.service.js.map