_id
stringlengths
2
6
title
stringlengths
0
58
partition
stringclasses
3 values
text
stringlengths
52
373k
language
stringclasses
1 value
meta_information
dict
q56800
train
function () { if (!aria.tools.ToolsBridge || !aria.tools.ToolsBridge.isOpen) { Aria.load({ classes : ['aria.tools.ToolsBridge'], oncomplete : function () { aria.tools.ToolsBridge.open(); ...
javascript
{ "resource": "" }
q56801
train
function (cb) { if (!this._robot) { this._robot = Aria.$frameworkWindow.top.SeleniumJavaRobot; this._robot.getOffset({ fn : this._offsetReceived, scope : this }); } if (cb) { if (t...
javascript
{ "resource": "" }
q56802
train
function (evt) { var changedProperties = evt.changedProperties; var localCfg = this._localDefCfg; var doUpdate = (changedProperties == null); // always do an update on reset if (changedProperties) { // look if the changed keys are part of this local enviro...
javascript
{ "resource": "" }
q56803
train
function (callback) { var validConfig = ariaCoreJsonValidator.normalize({ json : ariaCoreAppEnvironment.applicationSettings, beanName : this._cfgPackage }); if (validConfig) { this._applyEnvironment(callback); this.$rais...
javascript
{ "resource": "" }
q56804
train
function () { this.$Input._init.call(this); var label = this.getLabel(); if (label) { ariaUtilsEvent.addListener(label, "click", { fn : this._onLabelClick, scope : this }); } }
javascript
{ "resource": "" }
q56805
train
function (out) { var cfg = this._cfg; this._frame = ariaWidgetsFramesFrameWithIcons.createFrame({ sclass : cfg.sclass, id : this._domId, skinnableClass : this._skinnableClass, width : this._inputMarkupWidth, state : ...
javascript
{ "resource": "" }
q56806
train
function (reqId, connection, callback) { // Interval for processing the response from the server var scope = this; connection.onreadystatechange = function () { if (connection && connection.readyState === 4) { connection.onreadystatechange = Aria.e...
javascript
{ "resource": "" }
q56807
train
function (reqId, connection, callback) { var httpStatus, responseObject; try { var connectionStatus = connection.status; if (connectionStatus) { httpStatus = connectionStatus || 200; } else if (!connectionStatus && connection.r...
javascript
{ "resource": "" }
q56808
train
function (connection) { var headerStr = connection.getAllResponseHeaders(), headers = {}; if (headerStr) { var headerLines = headerStr.split("\n"); for (var i = 0; i < headerLines.length; i++) { var delimitPos = headerLines[i].indexOf(":"); ...
javascript
{ "resource": "" }
q56809
train
function (reqId, connection) { connection.onreadystatechange = Aria.empty; ariaCoreIO.clearTimeout(reqId); if (this._inProgress(connection)) { connection.abort(); return true; } // else the request completed but after the abort timeout (it...
javascript
{ "resource": "" }
q56810
train
function (modifierName, params) { // IMPORTANT: neither this method, nor any modifier, should assume // that `this === aria.templates.Modifiers` holds, // as they're copied in aria.core.Template (so 'this' is most of the time // an object extending aria.co...
javascript
{ "resource": "" }
q56811
train
function (modifierName, out) { var modifier = __modifiers[modifierName]; if (modifier && modifier.init) { modifier.init(out); } }
javascript
{ "resource": "" }
q56812
train
function (widgetName, skinClassName, skin, std) { // must return the normalizer for the frame state // get the frame type if (skin.frame == null) { skin.frame = {}; } var skinFrame = skin.frame; std = std || {}; var stdF...
javascript
{ "resource": "" }
q56813
train
function (widgetName, skinClassName, stateName, stateFrame, beanName) { var res = this._check(stateFrame, beanName); if (!res.result) { this.$logWarn(this.FRAME_STATE_NORMALIZATION_ERROR, [widgetName, skinClassName, stateName, res.message.replace(/\n/g, "\...
javascript
{ "resource": "" }
q56814
train
function (widgetName, skinClassName, frameType) { var res = this._frameNormalizers[frameType]; if (res == null) { var frameBeanDef = ariaCoreJsonValidator.getBean('aria.widgets.AriaSkinBeans.' + frameType + 'FrameCfg'); if (frameBeanDef == ...
javascript
{ "resource": "" }
q56815
train
function (skinObject) { if (skinObject['aria:skinNormalized']) { return; } for (var widget in skinObject) { if (skinObject.hasOwnProperty(widget) && widget != "general" && widget != "widgets") { skinObject[widget] = this.normalizeWi...
javascript
{ "resource": "" }
q56816
train
function (widgetName, beanDef) { if (widgetName == "Icon") { // no inheritance, use usual normalization return function (skinClassName, skin, std) { beanDef.$fastNorm(skin); }; } var hasFrame = (beanDef.$properties.f...
javascript
{ "resource": "" }
q56817
train
function (widgetName, beanDef) { var states = beanDef.$properties.states; if (states == null) { return null; } var writer = new ariaUtilsFunctionWriter(["state", "stdState", "normal", "stdNormal"]); ariaUtilsInheritanceNormalization.writeInheri...
javascript
{ "resource": "" }
q56818
train
function (frameType, beanName) { var beanDef = ariaCoreJsonValidator.getBean(beanName); var writer = new ariaUtilsFunctionWriter(["skinClassName", "stateName", "state", "stdState", "normal", "stdNormal"]); writer.writeEnsureObjectExists("state.frame"); ...
javascript
{ "resource": "" }
q56819
train
function (frameType, beanDef) { var writer = new ariaUtilsFunctionWriter(["skin", "std"]); var out = writer.out; // writer.writeEnsureObjectExists("skin.frame"); // not necessary, already done by normFrame // writer.writeEnsureObjectExists("std"); // not necessary, alread...
javascript
{ "resource": "" }
q56820
train
function (widgetName, widgetSkinObj) { if (!this.skinnableClasses.hasOwnProperty(widgetName)) { this.$logError(this.INVALID_SKINNABLE_CLASS, [widgetName]); return null; } if (widgetSkinObj == null) { widgetSkinObj = {}; } ...
javascript
{ "resource": "" }
q56821
train
function (general, beanType) { if (!general) { general = {}; } var param = { json : general, beanName : "aria.widgets.AriaSkinBeans." + beanType }; var normalizationResults = this._normalize(param); i...
javascript
{ "resource": "" }
q56822
train
function (out) { var cfg = this._cfg; var tabIndexString = (cfg.tabIndex != null ? ' tabindex="' + this._calculateTabIndex() + '" ' : ''); var titleString = cfg.tooltip ? ' title="' + ariaUtilsString.escapeHTMLAttr(cfg.tooltip) + '" ' : ''; var isIE7 = ariaCoreBrowser.isI...
javascript
{ "resource": "" }
q56823
train
function (domEvt) { if (domEvt.keyCode == ariaDomEvent.KC_SPACE || domEvt.keyCode == ariaDomEvent.KC_ENTER) { this._keyPressed = true; this._updateState(); domEvt.stopPropagation(); return false; } return true; ...
javascript
{ "resource": "" }
q56824
train
function() { var parts = [ this.vendor(), this.model() ]; for (var index = parts.length - 1; index >= 0; index--) { var part = parts[index]; if (part == null || part.length == null || part.length <= 0) { ...
javascript
{ "resource": "" }
q56825
train
function () { // -------------------------------------------- result initial value var result = false; // -------------------------------------------------- standard check var deviceType = this.__userAgentWrapper.results.device.type; if (!result) { ...
javascript
{ "resource": "" }
q56826
train
function () { var isTouch = false; if (ariaCoreBrowser.isBlackBerry) { if (!ariaUtilsArray.contains([9670, 9100, 9105, 9360, 9350, 9330, 9320, 9310, 9300, 9220, 9780, 9700, 9650], +this.model())) { isTouch = true; } } else { ...
javascript
{ "resource": "" }
q56827
train
function () { __objCount++; /** * Counter to be used as an index in each map. Is incremented each time a new entry is added to the object. * @protected * @type Number */ this._nextIndex = 0; /** * Map to sto...
javascript
{ "resource": "" }
q56828
train
function (key, value) { var item = { key : key, value : value, index : this._nextIndex }; this._nextIndex++; var map = this._getMap(key, true); if (map == this._objectKeys) { ...
javascript
{ "resource": "" }
q56829
train
function (key) { var map = this._getMap(key, false); if (map == null) { return false; } var item; if (map == this._objectKeys) { item = key[this._metaDataName]; } else if (map != this....
javascript
{ "resource": "" }
q56830
train
function (key) { var map = this._getMap(key, false); if (map == null) { return undefined; } var item; if (map == this._objectKeys) { item = key[this._metaDataName]; if (item) { ...
javascript
{ "resource": "" }
q56831
train
function (map, array) { if (map == null) return; for (var i in map) { var item = map[i]; var key = item.key; if (map == this._objectKeys) { key[this._metaDataName] = null; ...
javascript
{ "resource": "" }
q56832
train
function () { var res = []; this._removeAllToArray(this._objectKeys, res); this._objectKeys = null; this._removeAllToArray(this._stringKeys, res); this._stringKeys = null; this._removeAllToArray(this._numberKeys, res); ...
javascript
{ "resource": "" }
q56833
train
function (reqId, callback) { // PROFILING // this.$stopMeasure(req.profilingId); // Check if Flash plugin is available var navigator = Aria.$global.navigator; if (navigator.plugins && navigator.plugins.length > 0) { var mime = navigator.mimeTypes, type = ...
javascript
{ "resource": "" }
q56834
train
function () { this.isReady = true; for (var id in this._pending) { if (this._pending.hasOwnProperty(id)) { ariaCoreTimer.cancelCallback(this._pending[id]); ariaCoreIO.reissue(id); } } this._pending =...
javascript
{ "resource": "" }
q56835
train
function (args) { var reqId = args.reqId; var callback = args.cb; delete this._pending[reqId]; var response = { error : this.LOAD_PLUGIN, status : 0 }; callback.fn.call(callback.scope, true, callback.args, respons...
javascript
{ "resource": "" }
q56836
train
function (connection) { if (connection) { // raise global custom event -- startEvent ariaCoreIO.$raiseEvent({ name : "startEvent", o : connection }); if (connection.startEvent) { // r...
javascript
{ "resource": "" }
q56837
train
function (reqId, connection, callback) { var success = connection && connection.statusText === "xdr:success"; if (success) { connection.status = 200; } else { connection.status = 0; } callback.fn.call(callback.scope, !success,...
javascript
{ "resource": "" }
q56838
train
function (unused, req) { this.$raiseEvent({ name : "request", req : req }); req.beginDownload = (new Date()).getTime(); // as postData can possibly be changed by filters, we compute the requestSize only after filters have been ...
javascript
{ "resource": "" }
q56839
train
function (req) { // increment before assigning to avoid setting request id 0 (which does not work well with abort) this.nbRequests++; req.id = this.nbRequests; var reqMethods = ["GET", "POST", "PUT", "DELETE", "HEAD", "TRACE", "OPTIONS", "CONNECT", "PATCH", "COPY", ...
javascript
{ "resource": "" }
q56840
train
function (error, request, response) { if (!response) { response = {}; } if (!request && error) { request = this.pendingRequests[error.reqId]; } this.clearTimeout(request.id); this._normalizeResponse(error, request,...
javascript
{ "resource": "" }
q56841
train
function (unused, req) { var res = req.res, cb = req.callback; if (!cb) { this.$logError(this.MISSING_IO_CALLBACK, [res.url]); } else if (res.error != null) { // an error occured // call the error callback if (cb.onerror...
javascript
{ "resource": "" }
q56842
train
function (id, timeout, callback) { if (timeout > 0) { this._timeOut[id] = setTimeout(function () { // You won't believe this, but sometimes IE forgets to remove the timeout even if // we explicitely called a clearTimeout. Double check that the timeout ...
javascript
{ "resource": "" }
q56843
train
function (xhrObject, callback, isTimeout) { if (!xhrObject) { return false; } var transaction = xhrObject.redId || xhrObject; var request = this.pendingRequests[transaction]; this.clearTimeout(transaction); var abortStatus = fals...
javascript
{ "resource": "" }
q56844
train
function (response, expectedResponseType) { if (expectedResponseType == "text") { if (!response.responseText && response.responseJSON != null) { // convert JSON to text if (ariaUtilsType.isString(response.responseJSON)) { // thi...
javascript
{ "resource": "" }
q56845
train
function (e) { // call unload listeners // Keep a local copy of the reference to unloadListeners because it is possible that a listener calls // aria.utils.Event.reset (that's what AriaWindow is doing). var list = unloadListeners.slice(); f...
javascript
{ "resource": "" }
q56846
train
function (element, event, callback, useCapture, filterFunction) { var added = false; var parent = element.parentElement || element.parentNode; // Fx < 9 compat while (parent != null) { if (!filterFunction || filterFunction(parent)) { ...
javascript
{ "resource": "" }
q56847
train
function (element, event, callback, filterFunction) { var removed = false; var parent = element.parentElement || element.parentNode; // Fx < 9 compat while (parent != null) { if (!filterFunction || filterFunction(parent)) { remo...
javascript
{ "resource": "" }
q56848
train
function (element, event) { var normalized = { element: element, event: event }; if ('mousewheel' == event) { if (this.UA.isIE) { if (element == Aria.$window) { ...
javascript
{ "resource": "" }
q56849
train
function (template, context, statements, throwErrors) { this.context = context; this._prepare(template, throwErrors); this._computeLineNumbers(); return this._buildTree(throwErrors); }
javascript
{ "resource": "" }
q56850
train
function () { var cfg = this._cfg; var anchorElement = ariaUtilsDom.getDomElementChild(this.getDom(), 0); var ellipseElement = Aria.$window.document.createElement("span"); ellipseElement.innerHTML = ariaUtilsString.escapeHTML(cfg.label); this.textContent = ...
javascript
{ "resource": "" }
q56851
train
function (out) { var cfg = this._cfg; var tabString = (cfg.tabIndex != null ? ' tabindex="' + this._calculateTabIndex() + '" ' : ' '); out.write(['<a', Aria.testMode ? ' id="' + this._domId + '_link"' : '', ' class="sortIndicatorLink" href="#"' + tabString + this....
javascript
{ "resource": "" }
q56852
train
function (cfg) { if (cfg.view.sortName == cfg.sortName) { if (cfg.view.sortOrder == 'A') { return this.ASCENDING_STATE; } else if (cfg.view.sortOrder == 'D') { return this.DESCENDING_STATE; } } else { ...
javascript
{ "resource": "" }
q56853
train
function () { var cfg = this._cfg, sortKeyGetter = cfg.sortKeyGetter; if (sortKeyGetter) { var view = cfg.view; view.toggleSortOrder(cfg.sortName, sortKeyGetter); view.refresh(); } }
javascript
{ "resource": "" }
q56854
train
function (domEvt) { if (this._actingDom && this._hasMouseOver === false) { this._hasFocus = true; var offset; if (ariaCoreBrowser.isFirefox) { offset = { left : 1, top : 2 ...
javascript
{ "resource": "" }
q56855
train
function (domEvt) { if (this._hasMouseOver === false && this._hasFocus === true) { this._hasFocus = false; if (this._ellipsis) { this._ellipsis._hideFullText(domEvt.relatedTarget); } } }
javascript
{ "resource": "" }
q56856
train
function (domEvt) { this._sortList(); // handle an onclick event this.$ActionWidget._dom_onclick.apply(this, arguments); if (this._cfg) { this._updateDisplay(); if (this._cfg.refreshArgs) { this._doPartialRefresh(this...
javascript
{ "resource": "" }
q56857
train
function () { var differed = []; // it is possible, with the dialog, that we insert an already initialized section inside a non // initialized section if (this._initWidgetsDone) { return differed; } this....
javascript
{ "resource": "" }
q56858
train
function () { this.$raiseEvent("beforeRemoveContent"); // so that the children section can see that it is useless to remove themselves from // their parent: this._removingContent = true; var content = this._content; var con...
javascript
{ "resource": "" }
q56859
train
function () { // remove delegation done with "on" statement if (this.delegateIds) { for (var i = 0, l = this.delegateIds.length; i < l; i++) { ariaUtilsDelegate.remove(this.delegateIds[i]); } this.delegat...
javascript
{ "resource": "" }
q56860
train
function (bhv) { var bhvId = (bhv.getId ? bhv.getId() : null); var element = { _type : TYPE_BEHAVIOR, behavior : bhv, section : this, id : bhvId }; if (bhvId && this.idMap) {...
javascript
{ "resource": "" }
q56861
train
function (id) { var res = this.idMap ? this.idMap[id] : null; if (res && res._type == TYPE_BEHAVIOR) { return res.behavior; } return null; }
javascript
{ "resource": "" }
q56862
train
function (id) { var res = this.idMap ? this.idMap[id] : null; if (res && res._type == TYPE_SECTION) { return res; } return null; }
javascript
{ "resource": "" }
q56863
train
function (idMap) { if (this.idMap == idMap) { // already the same id map (especially useful if both are null) return; } // set child idMap to its parent value this.idMap = idMap; var id = this.id; ...
javascript
{ "resource": "" }
q56864
train
function (bind, callback) { var jsonChangeCallback = null; // register as listener for the bindings defined for this control: if (bind) { jsonChangeCallback = { fn : callback || this._notifyDataChange, sc...
javascript
{ "resource": "" }
q56865
train
function (visible, options) { visible = !!visible; var alreadyVisible = !!this._overlayId; if (visible !== alreadyVisible) { if (visible) { this._overlayId = ariaUtilsDomOverlay.create(this.getDom(), options); ...
javascript
{ "resource": "" }
q56866
train
function (recursive) { if (recursive) { var content = this._content; for (var i = 0, len = content.length; i < len; i++) { if (content[i].refreshProcessingIndicator) { content[i].refreshProcessingIndicator(true);...
javascript
{ "resource": "" }
q56867
train
function (attributes) { var attrBinding = this._attributesBinding; if (attrBinding) { this.__json.setValue(attrBinding.inside, attrBinding.to, attributes); } else { this._applyNewAttributes(attributes); } ...
javascript
{ "resource": "" }
q56868
train
function (newValue) { var attribute, domElt = this.getDom(), whiteList = ariaTemplatesDomElementWrapper.attributesWhiteList, newAttributeValue; var oldValue = this.attributes; // remove old members for (attribute in oldValue) { if (old...
javascript
{ "resource": "" }
q56869
train
function (className) { if (this.attributes && this.attributes.classList) { this.attributes.classList = className.split(" "); var attrBinding = this._attributesBinding; if (attrBinding) { this.__json.setValue(attrBinding....
javascript
{ "resource": "" }
q56870
train
function (out) { if (this.domType) { // if domType is empty, we do not output anything for the section // (used in the tooltip) var attributeList = this.attributes ? ariaUtilsHtml.buildAttributeList(this.attributes) : ''; va...
javascript
{ "resource": "" }
q56871
train
function (evt) { // forward event and configuration to a dedicated handler this.__navigationManager.handleNavigation(this.keyMap, this.tableNav, evt); if (this._cfg && this._cfg.on) { var callback = this._cfg.on[evt.type]; if (call...
javascript
{ "resource": "" }
q56872
train
function () { var eventListeners = this._cfg ? this._cfg.on : null; if (eventListeners) { for (var listener in eventListeners) { if (eventListeners.hasOwnProperty(listener)) { eventListeners[listener] = this.$normCal...
javascript
{ "resource": "" }
q56873
train
function (targetSection) { this.$assert(708, targetSection.idMap == null); // check that there is no id map so that it is not a // problem to change the id targetSection.id = this.id; targetSection.domType = this.domType; targetSection.tabl...
javascript
{ "resource": "" }
q56874
train
function (args) { var sectionMacro = this.macro; if (sectionMacro) { // a macro is defined in the section, it is the default macro to use when refreshing if (!args.macro) { args.macro = sectionMacro; } el...
javascript
{ "resource": "" }
q56875
train
function (targetSection) { var content = this._content; this.$assert(805, this.idMap == null); this.$assert(806, content); var targetContent = targetSection._content; var targetLength = targetContent.length; // first move al...
javascript
{ "resource": "" }
q56876
train
function () { var splitted1 = this._cfg.animation.animateIn.split(" "); var splitted2 = this._cfg.animation.animateOut.split(" "); return { animIn : { type : splitted1[0], reverse : (splitted1[1] == "righ...
javascript
{ "resource": "" }
q56877
train
function (domElt, refreshArgs) { // lazy processing of animation in/out string var animation = this._getAnimation(); this._animating = true; var newSection = this._domElt.cloneNode(false); domElt.id = null; newSection.classN...
javascript
{ "resource": "" }
q56878
train
function (suggestions) { if (typesUtil.isArray(suggestions)) { var newSuggestions = [], suggestionsLabel = this._options.labelKey, suggestionsCode = this._options.codeKey; if (this._options.sortingMethod && typesUtil.isFunction(this._options.sortingMethod)) { ...
javascript
{ "resource": "" }
q56879
train
function (callback) { var originalSuggestions = this._suggestions; var nbSuggestions = originalSuggestions.length; var returnedSuggestions = []; var suggestion; for (var index = 0; index < nbSuggestions; index++) { sugge...
javascript
{ "resource": "" }
q56880
train
function (lazy) { var dependencies = { templates : [], classes : [], modules : { page : [], common : [] }, css : [] }; var pageComposition = this._pageConfig.pageCo...
javascript
{ "resource": "" }
q56881
train
function (placeholder, dependencies, lazy) { var modules = this._pageModules, refpath, moduleDesc, typeUtils = ariaUtilsType; if (!typeUtils.isObject(placeholder)) { return; } var isLazy = (placeholder.lazy); if ((lazy && !isLazy) || (!lazy && ...
javascript
{ "resource": "" }
q56882
train
function () { var output = [], isLazy, typeUtils = ariaUtilsType; var placeholders = this._pageConfig.pageComposition.placeholders || {}; for (var placeholderName in placeholders) { if (placeholders.hasOwnProperty(placeholderName)) { isLazy = false...
javascript
{ "resource": "" }
q56883
rmDirRecursive
train
function rmDirRecursive(dirPath) { if(!fs.existsSync(dirPath)){ grunt.log.write('Directory ' + dirPath + ' does not exist. '); return 0; // fine } var files; try { files = fs.readdirSync(dirPath); } catch(e) { grunt.fatal('Exceptio...
javascript
{ "resource": "" }
q56884
train
function (tplCfg) { if (this._cfgOk) { var cfg = this._cfg; for (var i = 0, len = this.__inherithCfg.length; i < len; i += 1) { var property = this.__inherithCfg[i]; if (!tplCfg.hasOwnProperty(property)) { tplCf...
javascript
{ "resource": "" }
q56885
train
function (args) { if (args.success) { this._subTplCtxt = args.templateCtxt; this._subTplModuleCtrl = args.templateCtxt.moduleCtrl; this._subTplData = this._subTplCtxt.data; if (this._subTplModuleCtrl) { this._subTplModuleCtr...
javascript
{ "resource": "" }
q56886
train
function (out) { if (!this._cfgOk) { return aria.widgets.TemplateBasedWidget.superclass.writeMarkup.call(this, out); } // Prepare delegation id before to have it linked with this widget this._tplWidget._delegateId = aria.utils.Delegate.add({ ...
javascript
{ "resource": "" }
q56887
setMappedKey
train
function setMappedKey (generated, original) { if (generated) { allKeyMap[original] = generated; } else { delete allKeyMap[original]; } storage.setAttribute("kMap", privateSerializer.serialize(allKeyMap)); storage.save("JSONPersist"); }
javascript
{ "resource": "" }
q56888
getMappedKey
train
function getMappedKey (key, create) { allKeyMap = getAllKeys(); if (create && !(key in allKeyMap)) { var newKey = ("uD" + _UNIQUE_ID++); setMappedKey(newKey, key); return newKey; } else { return allKeyMap[key]; } }
javascript
{ "resource": "" }
q56889
train
function (key) { storage.removeAttribute(getMappedKey(key)); setMappedKey(null, key); storage.save("JSONPersist"); }
javascript
{ "resource": "" }
q56890
train
function (value, groups, event) { var validators = this.validators; if (validators.length) { var res; var isMember = false; for (var i = 0; i < validators.length; i++) { isMember = this.dataUtils.checkGroup(validators[i].groups,...
javascript
{ "resource": "" }
q56891
train
function (name, value) { if (value == null) { // null or undefined return this.removeParam(name); } if (this._params == null) { this._params = []; } for (var i = 0, length = this._params.length; i < length; i++) { ...
javascript
{ "resource": "" }
q56892
train
function (name) { if (name == null || this._params == null) { return null; } for (var i = 0, length = this._params.length; i < length; i++) { var elt = this._params[i]; if (elt.name === name) { return elt.value; ...
javascript
{ "resource": "" }
q56893
train
function (name) { if (name == null) { this._params = null; } if (this._params == null) { return; } for (var i = 0, length = this._params.length; i < length; i++) { var elt = this._params[i]; if (e...
javascript
{ "resource": "" }
q56894
train
function (args) { var req = args.req; var handler = args.requestHandler; if (handler == null) { handler = this.__getRequestHandler(); } req.data = (req.data == null && req.method == "POST") ? handler.prepareRequestBody(req....
javascript
{ "resource": "" }
q56895
train
function (args) { // var cb = args.cb; var res = args.res; var handler = args.requestHandler; // http error > use process failure if (res.error) { handler.processFailure({ error : res.error, status : re...
javascript
{ "resource": "" }
q56896
train
function (res, args) { var resFromFilters = args.res; // set final error flag if (resFromFilters.errorData) { res.error = true; } // resFromFilters as precedence over handler response if (resFromFilters.data) { re...
javascript
{ "resource": "" }
q56897
train
function (requestObject, session) { var typeUtils = ariaUtilsType; var urlService = requestObject.urlService; if (!urlService) { // If no service is set , it takes from app environment urlService = this.__getUrlService(); } this...
javascript
{ "resource": "" }
q56898
train
function (moduleName, locale, callback) { var urlServiceCfg = ariaModulesUrlServiceEnvironmentUrlService.getUrlServiceCfg(); Aria.load({ classes : [urlServiceCfg.implementation], oncomplete : { fn : this.__onI18nReady, scop...
javascript
{ "resource": "" }
q56899
train
function (args) { var urlService = this.__getUrlService(); this.$assert(595, urlService != null); var url = urlService.createI18nUrl(args.moduleName, this.session.id, args.locale); // Add the global parameters url = this.__appendGlobalParams(url, this._param...
javascript
{ "resource": "" }