ngx-commento
Version:
Angular wrapper for commento - fast, lightweight comments.
68 lines (60 loc) • 4.03 kB
JavaScript
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
typeof define === 'function' && define.amd ? define('ngx-commento', ['exports', '@angular/core'], factory) :
(factory((global['ngx-commento'] = {}),global.ng.core));
}(this, (function (exports,core) { 'use strict';
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var NgxCommentoComponent = /** @class */ (function () {
function NgxCommentoComponent() {
}
/**
* @return {?}
*/
NgxCommentoComponent.prototype.ngAfterViewInit = /**
* @return {?}
*/
function () {
(( /** @type {?} */(window))).main();
};
NgxCommentoComponent.decorators = [
{ type: core.Component, args: [{
selector: "ngx-commento",
template: "\n <div id=\"commento\"></div>\n "
}] }
];
/** @nocollapse */
NgxCommentoComponent.ctorParameters = function () { return []; };
return NgxCommentoComponent;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var NgxCommentoModule = /** @class */ (function () {
function NgxCommentoModule() {
}
NgxCommentoModule.decorators = [
{ type: core.NgModule, args: [{
declarations: [NgxCommentoComponent],
imports: [],
exports: [NgxCommentoComponent]
},] }
];
return NgxCommentoModule;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
exports.NgxCommentoComponent = NgxCommentoComponent;
exports.NgxCommentoModule = NgxCommentoModule;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWNvbW1lbnRvLnVtZC5qcy5tYXAiLCJzb3VyY2VzIjpbIm5nOi8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