mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +08:00
bc036af8b6
Includes transpiled JS/TS. [skip ci]
2 lines
1.7 KiB
JavaScript
2 lines
1.7 KiB
JavaScript
module.exports=function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=6)}({0:function(e,t){e.exports=flarum.core.compat["admin/app"]},6:function(e,t,a){"use strict";a.r(t);var r=a(0),n=a.n(r);n.a.initializers.add("flarum-akismet",(function(){n.a.extensionData.for("flarum-akismet").registerSetting({setting:"flarum-akismet.api_key",type:"text",label:n.a.translator.trans("flarum-akismet.admin.akismet_settings.api_key_label")}).registerSetting({setting:"flarum-akismet.delete_blatant_spam",type:"boolean",label:n.a.translator.trans("flarum-akismet.admin.akismet_settings.delete_blatant_spam_label"),help:n.a.translator.trans("flarum-akismet.admin.akismet_settings.delete_blatant_spam_help")}).registerPermission({icon:"fas fa-vote-yea",label:n.a.translator.trans("flarum-akismet.admin.permissions.bypass_akismet"),permission:"bypassAkismet"},"start")}))}});
|
|
//# sourceMappingURL=admin.js.map
|