code
stringlengths
31
2.05k
label_name
stringclasses
5 values
label
int64
0
4
for(var t,r=this;r instanceof En;){var e=Fe(r);e.__index__=0,e.__values__=T,t?u.__wrapped__=e:t=e;var u=e,r=r.__wrapped__}return u.__wrapped__=n,t},An.prototype.reverse=function(){var n=this.__wrapped__;return n instanceof Un?(this.__actions__.length&&(n=new Un(this)),n=n.reverse(),n.__actions__.push({func:Qe,args:...
Base
1
}),r}function B(n,t){return function(r){return n(t(r))}}function L(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r];o!==t&&"__lodash_placeholder__"!==o||(n[r]="__lodash_placeholder__",i[u++]=r)}return i}function U(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=n}),r}function C(n){var t=-1,r...
Base
1
return this.reverse().takeWhile(n).reverse()},Un.prototype.toArray=function(){return this.take(4294967295)},mt(Un.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),u=An[e?"take"+("last"==t?"Right":""):t],i=e||/^find/.test(t);u&&(An.prototype[t]=function(){functio...
Base
1
return r}function s(n,t,r,e){var u=null==n?0:n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r}function h(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return true;return false}function p(n,t,r){var e;return r(n,function(n,r,u){if(t(n,r,u))return e=r,false}),e}function _(n,t,r,e){var u=n.le...
Base
1
Or(n,0,t).join("")):n},An.trimStart=function(n,t,r){return(n=Iu(n))&&(r||t===T)?n.replace(on,""):n&&(t=yr(t))?(n=M(n),t=I(n,M(t)),Or(n,t).join("")):n},An.truncate=function(n,t){var r=30,e="...";if(du(t))var u="separator"in t?t.separator:u,r="length"in t?Eu(t.length):r,e="omission"in t?yr(t.omission):e;n=Iu(n);var i...
Base
1
An.toInteger=Eu,An.toLength=ku,An.toLower=function(n){return Iu(n).toLowerCase()},An.toNumber=Su,An.toSafeInteger=function(n){return n?pt(Eu(n),-9007199254740991,9007199254740991):0===n?n:0},An.toString=Iu,An.toUpper=function(n){return Iu(n).toUpperCase()},An.trim=function(n,t,r){return(n=Iu(n))&&(r||t===T)?n.repla...
Base
1
Or(n,0,t).join("")):n},An.trimStart=function(n,t,r){return(n=Iu(n))&&(r||t===T)?n.replace(on,""):n&&(t=yr(t))?(n=M(n),t=I(n,M(t)),Or(n,t).join("")):n},An.truncate=function(n,t){var r=30,e="...";if(du(t))var u="separator"in t?t.separator:u,r="length"in t?Eu(t.length):r,e="omission"in t?yr(t.omission):e;n=Iu(n);var i...
Base
1
window.onpageshow=function(event) { /** * Same as above for Safari (does not execute Javascript on history back) * persisted indicates if the document is loading from a cache (not reliable) * * @link https://web.dev/bfcache/ */ if (event.persisted || window.performance && (performance.navigation.type == 2...
Pillar
3
constructor(el, options) { super(el, options); this.delay = parseInt(localStorage.sidekiqTimeInterval) || 5000; this.startPolling(); document.addEventListener("interval:update", this.handleUpdate.bind(this)); }
Class
2
model() { return this.store.findAll("pending-post", { username: this.username, }); },
Base
1
htmlConverter: sourceDocument.getURL('get', $.param({ sheet: 'CKEditor.HTMLConverter', outputSyntax: 'plain', language: $('html').attr('lang') || '' })) }, editor.config['xwiki-source']); // The source command is not registered if the editor is loaded in-line. ...
Compound
4
language: $('html').attr('lang') || '' }))
Compound
4
function preprocessRFC2822(s) { // Remove comments and folding whitespace and replace multiple-spaces with a single space return s .replace(/\([^)]*\)|[\n\t]/g, " ") .replace(/(\s\s+)/g, " ") .trim(); }
Base
1
function RestWrite(config, auth, className, query, data, originalData, clientSDK, context, action) { if (auth.isReadOnly) { throw new Parse.Error( Parse.Error.OPERATION_FORBIDDEN, 'Cannot perform a write operation when using readOnlyMasterKey' ); } this.config = config; this.auth = auth; t...
Variant
0
RestWrite.prototype.checkProhibitedKeywords = function (data) { if (this.config.requestKeywordDenylist) { // Scan request data for denied keywords for (const keyword of this.config.requestKeywordDenylist) { const match = Utils.objectContainsKeyValue(data, keyword.key, keyword.value); if (match) { ...
Variant
0
objectId: this.objectId(), }, }) .execute() .then(results => { results.results.forEach(session => this.config.cacheController.user.del(session.sessionToken) ); }); } return promise .then(() => { // Transform the password if (this.data.pa...
Class
2
views: [path.join(__dirname, "templates"), path.join(__dirname, "othertemplates")], "view cache": true, "view options": { autoEscape: false }, }, }, function (_err: Error | null, res?: string) { expect(res).toEqual("Hi <p>Ben</p>"); } ); });
Base
1
function cb(err: Error, _res?: string) { expect(err).toBeTruthy(); expect(err.message).toMatch( buildRegEx(` var tR='',__l,__lP,include=E.include.bind(E),includeFile=E.includeFile.bind(E) function layout(p,d){__l=p;__lP=d} tR+='Hi ' tR+=E.e(badSyntax(=!) if(__l)tR=await includeFile(__l,Object.as...
Base
1
views: [path.join(__dirname, "templates"), path.join(__dirname, "othertemplates")], "view cache": true, "view options": { autoEscape: false }, }, }, function (_err: Error | null, res?: string) { expect(res).toEqual("Hi <p>Ben</p>"); } ); }); });
Base
1
function headerValueNormalize (potentialValue) { // To normalize a byte sequence potentialValue, remove // any leading and trailing HTTP whitespace bytes from // potentialValue. return potentialValue.replace( /^[\r\n\t ]+|[\r\n\t ]+$/g, '' ) }
Base
1
function getFileLink(file) { var file_name = highlight(file.name, filter_terms); return ( '<a data-nodrag="true" href="' + getFileUrl(file) + '" title="' + file.description + '"><i class="fas fa-paperclip ex...
Base
1
function getValueRenderedWithTlpColor({ label, tlp_color }, filter_terms) { const color = $sce.getTrustedHtml( `<span class="extra-card-field-color card-field-${tlp_color}"></span>` ); return color + highlight(label, filter_terms); }
Base
1
function getCardFieldListValues(values, filter_terms) { function getValueRendered(value) { if (value.color) { return getValueRenderedWithColor(value, filter_terms); } else if (value.tlp_color) { return getValueRenderedWithTlpColor(value, filter_terms);...
Base
1
function getValueRendered(value) { if (value.color) { return getValueRenderedWithColor(value, filter_terms); } else if (value.tlp_color) { return getValueRenderedWithTlpColor(value, filter_terms); } else if (value.avatar_url) { ...
Base
1
function getCardFieldDateValue(value) { return moment(value).fromNow(); }
Base
1
function getCardFieldFileValue(artifact_id, field_id, file_descriptions, filter_terms) { function getFileUrl(file) { return ( "/plugins/tracker/attachments/" + encodeURIComponent(file.id) + "-" + encodeURIComponent(file.name) ...
Base
1
function getValueRenderedWithColor(value, filter_terms) { const r = parseInt(value.color.r, 10); const g = parseInt(value.color.g, 10); const b = parseInt(value.color.b, 10); const color = $sce.getTrustedHtml(`<span class="extra-card-field-color" s...
Base
1
function getCardFieldPermissionsValue(values) { return values.join(", "); }
Base
1
function getCardFieldUserValue(value, filter_terms) { let display_name; if (value.user_url === null) { display_name = highlight(value.display_name, filter_terms); return `<div class="tlp-avatar-mini"> </div><span>${display_name}</span>`; } display_name = hig...
Base
1
label: SharedPropertiesService.getKanban().label, }); $window.sessionStorage.setItem("tuleap_feedback", message); $window.location.href = "/plugins/agiledashboard/?group_id=" + SharedPropertiesService.getProjectId(); }
Base
1
__add_row(row) { var tr = document.createElement('tr'); tr.id = "tr_" + this.__uuidv4(); for (var col of row) { var td = document.createElement('td'); td.innerHTML = col; tr.appendChild(td); } this.__add_action_button(tr); this.tbod...
Base
1
content: function() { return '<img style="width: 500px; height: 150px;" src="' + $(this).data('network-preview') + '" />'; },
Base
1
function reset_graph_history() { var table = eventGraph.menu_history.items["table_graph_history_actiontable"]; dataHandler.fetch_graph_history(function(history_formatted, network_previews) { table.set_table_data(history_formatted); for(var i=0; i<history_formatted.length; i++) { var ...
Base
1
async function _alertFromGet(type) { if (urlParams.has(type)) { var msg = urlParams.get(type); var div = document.createElement("div"); div.innerHTML = msg; var text = div.textContent || div.innerText || ""; if (!empty(text)) { switch (type) { case...
Base
1
encode: function (content, k) { let encoded = ""; content = btoa(content); content = btoa(content); for (i = 0; i < content.length; i++) { let a = content.charCodeAt(i); let b = a ^ k; encoded = encoded + String.fromCharCode(b); } r...
Class
2
function confirmAjaxAction(action, service, id) { $( "#dialog-confirm" ).dialog({ resizable: false, height: "auto", width: 400, modal: true, title: "Are you sure you want to "+ action + " " + id + "?", buttons: { "Sure": function() { $( this ).dialog( "close" ); if(service == "haproxy") { a...
Class
2
"Sure": function() { $( this ).dialog( "close" ); if(service == "haproxy") { ajaxActionServers(action, id); if(action == "restart" || action == "reload") { if(localStorage.getItem('restart')) { localStorage.removeItem('restart'); $("#apply").css('display', 'none'); } ...
Class
2
Cancel: function() { $( this ).dialog( "close" ); }
Class
2
token: $('#token').val() }, type: "POST", success: function (data) { data = data.replace(/\s+/g, ' '); if (data.indexOf('error:') != '-1') { toastr.error(data); } else { $("#dialog-settings-service").html(data) $( "input[type=checkbox]" ).checkboxradio(); $("#dialog-settings-service")....
Class
2
success: function (data) { data = data.replace(/\s+/g, ' '); if (data.indexOf('error:') != '-1') { toastr.error(data); } else { $("#dialog-settings-service").html(data) $( "input[type=checkbox]" ).checkboxradio(); $("#dialog-settings-service").dialog({ resizable: false, height: "aut...
Class
2
"Save": function () { $(this).dialog("close"); serverSettingsSave(id, name, service, $(this)); },
Class
2
commit: function (cb) { var cmd = ['git', 'commit', '-am', '"' + this._version + '"'].join(' ') this._exec(cmd, cb) },
Class
2
tag: function (cb) { var cmd = ['git', 'tag', 'v' + this._version].join(' ') this._exec(cmd, cb) },
Class
2
untag: function (cb) { var cmd = ['git', 'tag', '-d', 'v' + this._version].join(' ') this._exec(cmd, cb) },
Class
2
_exec: function (cmd, cb) { child.exec(cmd, this._options, cb) }
Class
2
function GitFn (version, options) { this._version = version this._options = { cwd: options.dir, env: process.env, setsid: false, stdio: [0, 1, 2] } }
Class
2
await this.sequelize.query('select :one as foo, :two as bar', { raw: true, replacements: new Date() }) .should.be.rejectedWith(Error, /Named parameter ":\w+" has no value in the given object\./g); });
Base
1
minifySql(sql) { // replace all consecutive whitespaces with a single plain space character return sql.replace(/\s+/g, ' ') // remove space before coma .replace(/ ,/g, ',') // remove whitespace at start & end .trim(); }
Base
1
expectsql(query, assertions) { const expectations = assertions.query || assertions; let expectation = expectations[Support.sequelize.dialect.name]; const dialect = Support.sequelize.dialect; if (!expectation) { if (expectations['default'] !== undefined) { expectation = expectations['def...
Base
1
async function doExport(socket, data, type) { sockets.warnDeprecated(socket, 'POST /api/v3/users/:uid/exports/:type'); if (!socket.uid) { throw new Error('[[error:invalid-uid]]'); } if (!data || parseInt(data.uid, 10) <= 0) { throw new Error('[[error:invalid-data]]'); } await user.isAdminOrSelf(so...
Base
1
Loader.addWorkerEvents = function (worker) { worker.on('exit', (code, signal) => { if (code !== 0) { if (Loader.timesStarted < numProcs * 3) { Loader.timesStarted += 1; if (Loader.crashTimer) { clearTimeout(Loader.crashTimer); } Loader.crashTimer = setTimeout(() => { Loader.timesStarted ...
Class
2
sessionId: request.signedCookies ? request.signedCookies[nconf.get('sessionKey')] : null, request: request, }); const sessionData = await getSessionAsync(sessionId); if (sessionData && sessionData.passport && sessionData.passport.user) { request.session = sessionData; socket.uid = parseInt(sessionData.pass...
Class
2
WebCryptography.prototype.encryptFile = function (key, file, File) { return __awaiter(this, void 0, void 0, function () { var bKey, abPlaindata, abCipherdata; return __generator(this, function (_a) { switch (_a.label) { case...
Base
1
default_1.prototype.setCipherKey = function (val) { this.cipherKey = val; return this; };
Base
1
url: _this._getFileUrl({ id: msgPayload.file.id, name: msgPayload.file.name, channel: channel, }), }; _this._listenerManager.announceFile(announce);...
Base
1
WebCryptography.prototype.decryptString = function (key, ciphertext) { return __awaiter(this, void 0, void 0, function () { var abCiphertext, abIv, abPayload, abPlaintext; return __generator(this, function (_a) { switch (_a.label) { ...
Base
1
this.encryptFile = function (key, file) { return cryptography.encryptFile(key, file, _this.File); };
Base
1
function prepareMessagePayload$1(modules, messagePayload) { var crypto = modules.crypto, config = modules.config; var stringifiedPayload = JSON.stringify(messagePayload); if (config.cipherKey) { stringifiedPayload = crypto.encrypt(stringifiedPayload); stringifiedPaylo...
Base
1
function __processMessage(modules, message) { var config = modules.config, crypto = modules.crypto; if (!config.cipherKey) return message; try { return crypto.decrypt(message); } catch (e) { return message; } }
Base
1
WebCryptography.prototype.decryptArrayBuffer = function (key, ciphertext) { return __awaiter(this, void 0, void 0, function () { var abIv; return __generator(this, function (_a) { abIv = ciphertext.slice(0, 16); return [2 /*retu...
Base
1
WebCryptography.prototype.decryptFile = function (key, file, File) { return __awaiter(this, void 0, void 0, function () { var bKey, abCipherdata, abPlaindata; return __generator(this, function (_a) { switch (_a.label) { case...
Base
1
var preparePayload = function (_a, payload) { var crypto = _a.crypto, config = _a.config; var stringifiedPayload = JSON.stringify(payload); if (config.cipherKey) { stringifiedPayload = crypto.encrypt(stringifiedPayload); stringifiedPayload = JSON.stringify(stringified...
Base
1
default_1.prototype.getVersion = function () { return '7.3.3'; };
Base
1
this.decryptFile = function (key, file) { return cryptography.decryptFile(key, file, _this.File); };
Base
1
WebCryptography.prototype.encryptString = function (key, plaintext) { return __awaiter(this, void 0, void 0, function () { var abIv, abPlaintext, abPayload, ciphertext; return __generator(this, function (_a) { switch (_a.label) { ...
Base
1
WebCryptography.prototype.getKey = function (key) { return __awaiter(this, void 0, void 0, function () { var bKey, abHash, abKey; return __generator(this, function (_a) { switch (_a.label) { case 0: ...
Base
1
function __processMessage$1(modules, message) { var config = modules.config, crypto = modules.crypto; if (!config.cipherKey) return message; try { return crypto.decrypt(message); } catch (e) { return message; } }
Base
1
default_1.prototype.setCipherKey = function (val) { this.cipherKey = val; return this; };
Base
1
default_1.prototype.getVersion = function () { return '7.3.3'; };
Base
1
url: _this._getFileUrl({ id: msgPayload.file.id, name: msgPayload.file.name, channel: channel, }), }; _this._listenerManager.announceFile(announce); } e...
Base
1
function default_1(_a) { var subscribeEndpoint = _a.subscribeEndpoint, leaveEndpoint = _a.leaveEndpoint, heartbeatEndpoint = _a.heartbeatEndpoint, setStateEndpoint = _a.setStateEndpoint, timeEndpoint = _a.timeEndpoint, getFileUrl = _a.getFileUrl, config = _a.config, crypto = _a.crypto, listenerManager = _a....
Base
1
function __processMessage(modules, message) { var config = modules.config, crypto = modules.crypto; if (!config.cipherKey) return message; try { return crypto.decrypt(message); } catch (e) { return message; } }
Base
1
var preparePayload = function (_a, payload) { var crypto = _a.crypto, config = _a.config; var stringifiedPayload = JSON.stringify(payload); if (config.cipherKey) { stringifiedPayload = crypto.encrypt(stringifiedPayload); stringifiedPayload = JSON.stringify(stringifiedPayload); } retu...
Base
1
function __processMessage(modules, message) { var config = modules.config, crypto = modules.crypto; if (!config.cipherKey) return message; try { return crypto.decrypt(message); } catch (e) { return message; } }
Base
1
function prepareMessagePayload(modules, messagePayload) { var crypto = modules.crypto, config = modules.config; var stringifiedPayload = JSON.stringify(messagePayload); if (config.cipherKey) { stringifiedPayload = crypto.encrypt(stringifiedPayload); stringifiedPayload = JSON.stringify(string...
Base
1
this.encryptFile = function (key, file) { return cryptography.encryptFile(key, file, _this.File); };
Base
1
this.decryptFile = function (key, file) { return cryptography.decryptFile(key, file, _this.File); };
Base
1
NodeCryptography.prototype.encryptStream = function (key, stream) { var output = new stream_1.PassThrough(); var bIv = this.getIv(); var aes = (0, crypto_1.createCipheriv)(this.algo, key, bIv); output.write(bIv); stream.pipe(aes).pipe(output); return output; };
Base
1
WebCryptography.prototype.decryptArrayBuffer = function (key, ciphertext) { return __awaiter(this, void 0, void 0, function () { var abIv; return __generator(this, function (_a) { abIv = ciphertext.slice(0, 16); return [2 /*return*/, crypto.subtle.decr...
Base
1
WebCryptography.prototype.encryptString = function (key, plaintext) { return __awaiter(this, void 0, void 0, function () { var abIv, abPlaintext, abPayload, ciphertext; return __generator(this, function (_a) { switch (_a.label) { case 0: ...
Base
1
WebCryptography.prototype.decryptFile = function (key, file, File) { return __awaiter(this, void 0, void 0, function () { var bKey, abCipherdata, abPlaindata; return __generator(this, function (_a) { switch (_a.label) { case 0: return [4 /*yield*/,...
Base
1
WebCryptography.prototype.decryptString = function (key, ciphertext) { return __awaiter(this, void 0, void 0, function () { var abCiphertext, abIv, abPayload, abPlaintext; return __generator(this, function (_a) { switch (_a.label) { case 0: ...
Base
1
WebCryptography.prototype.encryptFile = function (key, file, File) { return __awaiter(this, void 0, void 0, function () { var bKey, abPlaindata, abCipherdata; return __generator(this, function (_a) { switch (_a.label) { case 0: return [4 /*yield*/,...
Base
1
WebCryptography.prototype.getKey = function (key) { return __awaiter(this, void 0, void 0, function () { var bKey, abHash, abKey; return __generator(this, function (_a) { switch (_a.label) { case 0: bKey = Buffer.from(key); ...
Base
1
function PubNubFile(_a) { var stream = _a.stream, data = _a.data, encoding = _a.encoding, name = _a.name, mimeType = _a.mimeType; if (stream instanceof stream_1.Readable) { this.data = stream; if (stream instanceof fs_1.ReadStream) { //...
Base
1
function class_1(setup) { var _this = this; setup.cbor = new common_1.default(function (buffer) { return cbor_sync_1.default.decode(Buffer.from(buffer)); }, base64_codec_1.decode); setup.networking = new networking_1.default({ keepAlive: node_1.keepAlive, del: web_nod...
Base
1
constructor({ config }) { this._config = config; this._iv = '0123456789012345'; this._allowedKeyEncodings = ['hex', 'utf8', 'base64', 'binary']; this._allowedKeyLengths = [128, 256]; this._allowedModes = ['ecb', 'cbc']; this._defaultOptions = { encryptKey: true, keyEncoding: 'ut...
Base
1
url: this._getFileUrl({ id: msgPayload.file.id, name: msgPayload.file.name, channel, }), }; this._listenerManager.announceFile(announce); } else { const announce = {}; announce.channel = null; announce.subscription = ...
Base
1
exports.start = function (args, returnPromise) { let command = exports.path; if (!fs.existsSync(command)) { console.log('Could not find chromedriver in default path: ', command); console.log('Falling back to use global chromedriver bin'); command = process.platform === 'win32' ? 'chromedriver.exe' : 'ch...
Base
1
function getPortFromArgs(args) { let port = 9515; if (!args) { return port; } const portRegexp = /--port=(\d*)/; const portArg = args.find(function (arg) { return portRegexp.test(arg); }); if (portArg) { port = parseInt(portRegexp.exec(portArg)[1]); } return port; }
Base
1
exports.stop = function () { if (exports.defaultInstance != null) { exports.defaultInstance.kill(); } };
Base
1
async function writeUpdate(newVersion, shouldCommit) { const helper = fs.readFileSync('./lib/chromedriver.js', 'utf8'); const versionExport = 'exports.version'; const regex = new RegExp(`^.*${versionExport}.*$`, 'gm'); const updated = helper.replace(regex, `${versionExport} = '${newVersion}';`); const current...
Base
1
regx : RegExp( `&${match[1]};`,"g"), val: match[3] }; } }
Base
1
!function(){var t;t=jQuery,Craft.QuickPostWidget=Garnish.Base.extend({params:null,initFields:null,formHtml:null,$widget:null,$form:null,$spinner:null,$errorList:null,loading:!1,init:function(i,r,e,n){this.params=r,this.initFields=e,this.formHtml=n,this.$widget=t("#widget"+i),this.initForm(this.$widget.find("form:first"...
Base
1
!function(){var t;t=jQuery,Craft.QuickPostWidget=Garnish.Base.extend({params:null,initFields:null,formHtml:null,$widget:null,$form:null,$spinner:null,$errorList:null,loading:!1,init:function(i,r,e,n){this.params=r,this.initFields=e,this.formHtml=n,this.$widget=t("#widget"+i),this.initForm(this.$widget.find("form:first"...
Base
1
!function(){var t;t=jQuery,Craft.QuickPostWidget=Garnish.Base.extend({params:null,initFields:null,formHtml:null,$widget:null,$form:null,$spinner:null,$errorList:null,loading:!1,init:function(i,r,e,n){this.params=r,this.initFields=e,this.formHtml=n,this.$widget=t("#widget"+i),this.initForm(this.$widget.find("form:first"...
Base
1
!function(){var t;t=jQuery,Craft.QuickPostWidget=Garnish.Base.extend({params:null,initFields:null,formHtml:null,$widget:null,$form:null,$spinner:null,$errorList:null,loading:!1,init:function(i,r,e,n){this.params=r,this.initFields=e,this.formHtml=n,this.$widget=t("#widget"+i),this.initForm(this.$widget.find("form:first"...
Base
1
!function(){var t;t=jQuery,Craft.QuickPostWidget=Garnish.Base.extend({params:null,initFields:null,formHtml:null,$widget:null,$form:null,$spinner:null,$errorList:null,loading:!1,init:function(i,r,e,n){this.params=r,this.initFields=e,this.formHtml=n,this.$widget=t("#widget"+i),this.initForm(this.$widget.find("form:first"...
Base
1
!function(){var t;t=jQuery,Craft.QuickPostWidget=Garnish.Base.extend({params:null,initFields:null,formHtml:null,$widget:null,$form:null,$spinner:null,$errorList:null,loading:!1,init:function(i,r,e,n){this.params=r,this.initFields=e,this.formHtml=n,this.$widget=t("#widget"+i),this.initForm(this.$widget.find("form:first"...
Base
1
!function(){var t;t=jQuery,Craft.QuickPostWidget=Garnish.Base.extend({params:null,initFields:null,formHtml:null,$widget:null,$form:null,$spinner:null,$errorList:null,loading:!1,init:function(i,r,e,n){this.params=r,this.initFields=e,this.formHtml=n,this.$widget=t("#widget"+i),this.initForm(this.$widget.find("form:first"...
Base
1