UNPKG

1.54 kBSource Map (JSON)View Raw
1{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../../modules/@angular/core/src/version.ts"],"names":[],"mappings":"AACA;;;;GAIG;AACH;IACA;;OAEG;IACH,iBAAmB,IAAY;QAAZ,SAAI,GAAJ,IAAI,CAAQ;IAAG,CAAC;IAInC,sBAAI,0BAAK;QAHT;;WAEG;aACH,cAAsB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;OAAA;IAIvD,sBAAI,0BAAK;QAHT;;WAEG;aACH,cAAsB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;OAAA;IAIvD,sBAAI,0BAAK;QAHT;;WAEG;aACH,cAAsB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;;;OAAA;IACvE,cAAC;AAAD,CAAC,AAjBD,IAiBC;AAED;IACA,gBAAgB;IAChB,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;AACvB,CAAC;AAGD;;GAEG;AACH,OAAO,IAAM,gBAAgB,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB,CAAC,CAAC","sourcesContent":["\n/**\n * \\@whatItDoes Represents the version of Angular\n * \n * \\@stable\n */\nexport class Version {\n/**\n * @param {?} full\n */\nconstructor(public full: string) {}\n/**\n * @return {?}\n */\nget major(): string { return this.full.split('.')[0]; }\n/**\n * @return {?}\n */\nget minor(): string { return this.full.split('.')[1]; }\n/**\n * @return {?}\n */\nget patch(): string { return this.full.split('.').slice(2).join('.'); }\n}\n\nfunction Version_tsickle_Closure_declarations() {\n/** @type {?} */\nVersion.prototype.full;\n}\n\n\n/**\n * @stable\n */\nexport const /** @type {?} */ VERSION = new Version('2.4.10');\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"]}
\No newline at end of file