_id
stringlengths
2
6
title
stringlengths
0
58
partition
stringclasses
3 values
text
stringlengths
27
233k
language
stringclasses
1 value
meta_information
dict
q61500
validation
function(command) { if (selection.isCollapsed()) selection.select(selection.getNode());
javascript
{ "resource": "" }
q61501
validation
function(command) { var listElm, listParent; execNativeCommand(command); // WebKit produces lists within block elements so we need to split them // we will replace the native list creation logic to custom logic later on // TODO: Remove this when the list creation logic is removed listE...
javascript
{ "resource": "" }
q61502
validation
function(command) { var name = 'align' + command.substring(7); var nodes = selection.isCollapsed() ? [dom.getParent(selection.getNode(), dom.isBlock)]
javascript
{ "resource": "" }
q61503
removeCaretContainer
validation
function removeCaretContainer(node, move_caret) { var child, rng; if (!node) { node = getParentCaretContainer(selection.getStart()); if (!node) { while (node = dom.get(caretContainerId)) { removeCaretContainer(node, false); } } } else { rng = selection.ge...
javascript
{ "resource": "" }
q61504
unmarkBogusCaretParents
validation
function unmarkBogusCaretParents() { var i, caretContainer, node; caretContainer = getParentCaretContainer(selection.getStart()); if (caretContainer && !dom.isEmpty(caretContainer)) { tinymce.walk(caretContainer, function(node) { if (node.nodeType ==
javascript
{ "resource": "" }
q61505
renderBlockOnIE
validation
function renderBlockOnIE(block) { var oldRng; if (tinymce.isIE && dom.isBlock(block)) { oldRng = selection.getRng(); block.appendChild(dom.create('span', null, '\u00a0'));
javascript
{ "resource": "" }
q61506
moveToCaretPosition
validation
function moveToCaretPosition(root) { var walker, node, rng, y, viewPort, lastNode = root, tempElm; rng = dom.createRng(); if (root.hasChildNodes()) { walker = new TreeWalker(root, root); while (node = walker.current()) { if (node.nodeType == 3) { rng.setStart(node, 0); ...
javascript
{ "resource": "" }
q61507
createNewBlock
validation
function createNewBlock(name) { var node = container, block, clonedNode, caretNode; block = name || parentBlockName == "TABLE" ? dom.create(name || newBlockName) : parentBlock.cloneNode(false); caretNode = block; // Clone any parent styles if (settings.keep_styles !== false) { do { ...
javascript
{ "resource": "" }
q61508
wrapSelfAndSiblingsInDefaultBlock
validation
function wrapSelfAndSiblingsInDefaultBlock(container, offset) { var newBlock, parentBlock, startNode, node, next, blockName = newBlockName || 'P'; // Not in a block element or in a table cell or caption parentBlock = dom.getParent(container, dom.isBlock); if (!parentBlock || !canSplitBlock(parentB...
javascript
{ "resource": "" }
q61509
hasRightSideBr
validation
function hasRightSideBr() { var walker = new TreeWalker(container, parentBlock), node;
javascript
{ "resource": "" }
q61510
insertBr
validation
function insertBr() { var brElm, extraBr, marker; if (container && container.nodeType == 3 && offset >= container.nodeValue.length) { // Insert extra BR element at the end block elements if (!tinymce.isIE && !hasRightSideBr()) { brElm = dom.create('br'); rng.insertNode(brElm); ...
javascript
{ "resource": "" }
q61511
validation
function(el, prefix) { var me = this, sandboxPrefix = ''; el = Ext.getDom(el, true) || {}; if (el === document) { el.id = me.documentId; } else if (el === window) {
javascript
{ "resource": "" }
q61512
validation
function(callback, scope, args, delay){ if(Ext.isFunction(callback)){ args = args || []; scope = scope || window; if (delay) { Ext.defer(callback, delay, scope,
javascript
{ "resource": "" }
q61513
validation
function(dest, source, names, usePrototypeKeys){ if(typeof names == 'string'){ names = names.split(/[,;\s]/); } var n, nLen = names? names.length : 0, name; for(n = 0; n < nLen; n++) { name = names[n]; ...
javascript
{ "resource": "" }
q61514
validation
function(o){ for (var i = 1, a = arguments, len = a.length; i < len; i++) {
javascript
{ "resource": "" }
q61515
validation
function(arr, methodName){ var ret = [], args = Array.prototype.slice.call(arguments, 2), a, v, aLen = arr.length; for (a = 0; a < aLen; a++)
javascript
{ "resource": "" }
q61516
validation
function(){ var parts = Ext.partition(arguments, function( val ){ return typeof val != 'function'; }), arrs = parts[0], fn = parts[1][0], len = Ext.max(Ext.pluck(arrs, "length")), ret = [], i,
javascript
{ "resource": "" }
q61517
report
validation
function report(node, needed, gotten, loc, isLastNodeCheck) { var msgContext = { needed: needed, type: indentType, characters: needed === 1 ? "character" : "characters", gotten: gotten }; var indentChar = indentType === "space" ? " " : "\t"; /** * Responsible for fixing the indentation issue fix...
javascript
{ "resource": "" }
q61518
getFixerFunction
validation
function getFixerFunction() { var rangeToFix = []; if (needed > gotten) { var spaces = "" + new Array(needed - gotten + 1).join(indentChar); // replace with repeat in future if (isLastNodeCheck === true) { rangeToFix = [ node.range[1] - 1, node.range[1] - 1 ]; } else { ra...
javascript
{ "resource": "" }
q61519
getNodeIndent
validation
function getNodeIndent(node, byLastLine, excludeCommas) { var token = byLastLine ? context.getLastToken(node) : context.getFirstToken(node); var src = context.getSource(token, token.loc.start.column); var regExp =
javascript
{ "resource": "" }
q61520
isNodeFirstInLine
validation
function isNodeFirstInLine(node, byEndLocation) { var firstToken = byEndLocation === true ? context.getLastToken(node, 1) : context.getTokenBefore(node), startLine = byEndLocation === true ?
javascript
{ "resource": "" }
q61521
isNodeFirstArgument
validation
function isNodeFirstArgument(node) { if (!node.parent.arguments) { return false; } return equal(node, node.parent.arguments[0]); // var firstToken = context.getTokenBefore(node), // startLine = node.loc.start.line,
javascript
{ "resource": "" }
q61522
checkNodeIndent
validation
function checkNodeIndent(node, indent, excludeCommas) { var nodeIndent = getNodeIndent(node, false, excludeCommas); if (
javascript
{ "resource": "" }
q61523
checkNodesIndent
validation
function checkNodesIndent(nodes, indent, excludeCommas) { nodes.forEach(function(node) { if (node.type === "IfStatement" && node.alternate) { var elseToken = context.getTokenBefore(node.alternate);
javascript
{ "resource": "" }
q61524
checkLastNodeLineIndent
validation
function checkLastNodeLineIndent(node, lastLineIndent) { var lastToken = context.getLastToken(node); var endIndent = getNodeIndent(lastToken, true); if (endIndent !== lastLineIndent && isNodeFirstInLine(node, true)) { report( node,
javascript
{ "resource": "" }
q61525
checkFirstNodeLineIndent
validation
function checkFirstNodeLineIndent(node, firstLineIndent) { var startIndent = getNodeIndent(node, false); if (startIndent !== firstLineIndent && isNodeFirstInLine(node)) { report( node,
javascript
{ "resource": "" }
q61526
getVariableDeclaratorNode
validation
function getVariableDeclaratorNode(node) { var parent = node.parent; while (parent.type !== "VariableDeclarator" && parent.type !== "Program") { parent
javascript
{ "resource": "" }
q61527
checkIndentInFunctionBlock
validation
function checkIndentInFunctionBlock(node) { // Search first caller in chain. // Ex.: // // Models <- Identifier // .User // .find() // .exec(function() { // // function body // }); // // Looks for 'Models' var calleeNode = node.parent; // FunctionExpression var indent; if (calleeNo...
javascript
{ "resource": "" }
q61528
isSingleLineNode
validation
function isSingleLineNode(node) { var lastToken = context.getLastToken(node), startLine = node.loc.start.line,
javascript
{ "resource": "" }
q61529
isFirstArrayElementOnSameLine
validation
function isFirstArrayElementOnSameLine(node) { if (node.type === "ArrayExpression" && node.elements[0]) { return node.elements[0].loc.start.line === node.loc.start.line &&
javascript
{ "resource": "" }
q61530
checkIndentInArrayOrObjectBlock
validation
function checkIndentInArrayOrObjectBlock(node) { // Skip inline if (isSingleLineNode(node)) { return; } var elements = (node.type === "ArrayExpression") ? node.elements : node.properties; // filter out empty elements example would be [ , 2] so remove first element as espree considers it as null element...
javascript
{ "resource": "" }
q61531
isNodeBodyBlock
validation
function isNodeBodyBlock(node) { return node.type === "BlockStatement" || (node.body
javascript
{ "resource": "" }
q61532
blockIndentationCheck
validation
function blockIndentationCheck(node) { // Skip inline blocks if (isSingleLineNode(node)) { return; } if (node.parent && ( node.parent.type === "FunctionExpression" || node.parent.type === "FunctionDeclaration" || node.parent.type === "ArrowFunctionExpression" )) { checkIndentInFunctionBloc...
javascript
{ "resource": "" }
q61533
checkIndentInVariableDeclarations
validation
function checkIndentInVariableDeclarations(node) { var elements = filterOutSameLineVars(node); var nodeIndent = getNodeIndent(node); var lastElement = elements[elements.length - 1]; var elementsIndent = nodeIndent + indentSize * options.VariableDeclarator[node.kind]; // Comma can be placed before declaratio...
javascript
{ "resource": "" }
q61534
expectedCaseIndent
validation
function expectedCaseIndent(node, switchIndent) { var switchNode = (node.type === "SwitchStatement") ? node : node.parent; var caseIndent; if (caseIndentStore[switchNode.loc.start.line]) { return caseIndentStore[switchNode.loc.start.line]; } else { if (typeof switchIndent === "undefined") { switchInd...
javascript
{ "resource": "" }
q61535
factory
validation
function factory(name, attrs, fn) { if (arguments.length === 2) { fn = attrs; attrs = null;
javascript
{ "resource": "" }
q61536
define
validation
function define(type, Model) { if (arguments.length === 1) { Model = type; type = Model.prototype.__type || Model.modelName; }
javascript
{ "resource": "" }
q61537
list
validation
function list(type, num, fn) { var records = []; var bail = false; var created = function(err, record) { if (bail) return; if (err) { bail = true; return fn(err); } records.push(record); if (records.length
javascript
{ "resource": "" }
q61538
validation
function(size, units) { // Most common case first: Size is set to a number if (typeof size == 'number') { return size + (units || this.defaultUnit || 'px'); } // Size set to a value which means "auto" if (size === "" || size == "auto" || size ...
javascript
{ "resource": "" }
q61539
validation
function() { return Math.max(!Ext.isStrict ? document.body.scrollHeight
javascript
{ "resource": "" }
q61540
validation
function ( iterable = null ) { this.front = null ; this.back = null ;
javascript
{ "resource": "" }
q61541
LoaderCache
validation
function LoaderCache(options) { if (!(this instanceof LoaderCache)) { return new LoaderCache(options); } this.options = options || {};
javascript
{ "resource": "" }
q61542
validation
function(type, options, fn) { if (arguments.length === 1) { return this[type].iterator.fn; } if (typeof options ===
javascript
{ "resource": "" }
q61543
validation
function(name/*, options, fns*/) { var args = utils.slice(arguments, 1); var opts = args.shift(); var type =
javascript
{ "resource": "" }
q61544
validation
function(name, options, stack) { var args = utils.slice(arguments); var opts = {}; name = args.shift(); if (!utils.isLoader(options) && lazy.isObject(options)) { opts = args.shift(); } opts = opts || {}; var type = this.getLoaderType(opts); opts.loaderType = type; var inst =...
javascript
{ "resource": "" }
q61545
validation
function(cmp) { var me = this, newGroup = cmp, oldGroup; if(Ext.isString(cmp)) { newGroup = Ext.getCmp(newGroup); } if (newGroup === me.activeGroup) { return true; } oldGroup = me.activeGroup;
javascript
{ "resource": "" }
q61546
validation
function() { var me = this, delimiter = me.delimiter,
javascript
{ "resource": "" }
q61547
compile
validation
function compile(content, options) { options = merge({ outputLanguage: 'es5', modules: 'commonjs', filename: '<unknown file>', sourceMap: false, cwd: process.cwd(), moduleName: false }, options || {}); var moduleName = options.moduleName; traceurOptions.reset(); merge(traceurOptions,...
javascript
{ "resource": "" }
q61548
validation
function() { var me = this, value = me.textField.getValue(); if (value === '') { return null; } if (!me.regExpMode) { value = value.replace(me.regExpProtect, function(m) { return '\\' + m; }); } else { ...
javascript
{ "resource": "" }
q61549
validation
function() { var me = this, count = 0; me.view.refresh(); // reset the statusbar me.statusBar.setStatus({ text: me.defaultStatusText, iconCls: '' }); me.searchValue = me.getSearchValue(); me.indexes = []; me...
javascript
{ "resource": "" }
q61550
validation
function() { var me = this, idx; if ((idx = Ext.Array.indexOf(me.indexes, me.currentIndex)) !== -1) { me.currentIndex = me.indexes[idx
javascript
{ "resource": "" }
q61551
makeCtor
validation
function makeCtor (className) { function constructor () { // Opera has some problems returning from a constructor when Dragonfly isn't running. The || null seems to // be sufficient to stop it misbehaving. Known to be required against 10.53, 11.51 and 11.61. return this.const...
javascript
{ "resource": "" }
q61552
validation
function(config, existingEl) { config = config || {}; var me = this, dh = Ext.DomHelper, cp = config.parentEl, pel = cp ? Ext.getDom(cp) : document.body, hm = config.hideMode, cls = Ext.baseCSSPrefix + (config.fixed && !(Ext.isIE6 || Ext.isIEQu...
javascript
{ "resource": "" }
q61553
validation
function(err) { if(err) { defer.reject(err); } else { //remove the error object, send the info onwards [].shift.call(arguments); //now we have to do something funky here
javascript
{ "resource": "" }
q61554
readAnalyserConfig
validation
function readAnalyserConfig(analyserPath) { var filePath = path.join(analyserPath, 'config.json'); return readFile(filePath, {encoding: 'utf8'}) .then(function(fileContents){ try { return
javascript
{ "resource": "" }
q61555
build
validation
function build(mode, system, cdef, out, cb) { var cmd = cdef.specific.processBuild || cdef.specific.build; var branch = ''; logger.info('building'); out.stdout('building'); if (!cmd) { return cb(null, {}); } if (!cdef.specific.repositoryUrl) { return cb(new Error('missing repositoryUrl'), {});...
javascript
{ "resource": "" }
q61556
start
validation
function start(mode, target, system, containerDef, container, out, cb) { proc.start(mode, target,
javascript
{ "resource": "" }
q61557
isIllegalArguments
validation
function isIllegalArguments(_ref) { var fn = _ref.fn; var cb = _ref.cb; var matcher = _ref.matcher; if (typeof fn !== 'function') { return Promise.reject(new Error('Expected fn to be a Function')); } if (typeof cb !== 'undefined' && typeof cb !== 'function') { return Promise.reject(...
javascript
{ "resource": "" }
q61558
catchAndMatch
validation
function catchAndMatch(fn, matcher, cb) { return isIllegalArguments({ fn: fn, matcher: matcher, cb: cb }).then(fn, function (err) { throw err; }).then(function () { // If we got here the function did not throw an error var error = new Error('No error thrown'); if (cb) cb(error); re...
javascript
{ "resource": "" }
q61559
exec
validation
function exec(cmd) { return new Promise( function (resolve, reject) { child_process.exec(cmd, function (error, stdout, stderr) { if (error) { reject(stderr.trim()); } else {
javascript
{ "resource": "" }
q61560
listen
validation
function listen(name, callBack) { function f() { try { callBack.apply(this, arguments);
javascript
{ "resource": "" }
q61561
ImageDimensions
validation
function ImageDimensions (assetPath, registeredAssets, callback) { sassUtils.assertType(assetPath, "string"); sassUtils.assertType(registeredAssets, "map"); var self = this; var getPath = self.checkImagePath(assetPath.getValue(), registeredAssets); getPath.then(function (success) { var imageDi...
javascript
{ "resource": "" }
q61562
clientReadyMessage
validation
function clientReadyMessage (cookies, user, pass) { return {
javascript
{ "resource": "" }
q61563
CouchDBCache
validation
function CouchDBCache(options) { var self = this; options = options || {}; this.expireAfterSeconds = options.expireAfterSeconds || 60; this.connection = Promise.resolve() .then(function () { return options.auth ? this.auth(options.auth.username, options.auth.password) : null; ...
javascript
{ "resource": "" }
q61564
validation
function (obj) { var res = {}, i;
javascript
{ "resource": "" }
q61565
validation
function (rootPath) { // public properties this.plugins = {}; this.mainTree = {}; this.groups = {}; this.resolved = false; if (rootPath) { if (typeof rootPath !== 'string') { throw new Error( 'Invalid rootPath parameter
javascript
{ "resource": "" }
q61566
configure
validation
function configure(pkg, env, target) { const isModule = target === 'module'; const input = `src/index.js`; const deps = [] .concat(pkg.dependencies ? Object.keys(pkg.dependencies) : []) .concat(pkg.peerDependencies ? Object.keys(pkg.peerDependencies) : []); const plugins = [ // ...
javascript
{ "resource": "" }
q61567
validation
function () { var requiredRules = [ // This one comes out of the box with parsley 'required', // These ones were added with this library 'requiredIf', 'requiredUnless', 'requiredWith', 'requiredWithAll', 'requiredWithout', 'requiredWithoutAll' ]; ...
javascript
{ "resource": "" }
q61568
validation
function(headers, callback) { // setup all variables var xhr = new XMLHttpRequest(), url = options.url, type = options.type, async = options.async || true, // blob or arraybuffer. Defa...
javascript
{ "resource": "" }
q61569
compose
validation
function compose (/* [func,] */) { var args = argsToArray(arguments); return function (arg0) { return args.reduceRight(function (value, arg){
javascript
{ "resource": "" }
q61570
curryN
validation
function curryN (fn, executeArity) { var curriedArgs = restArgs(arguments, 2); return function () { var args = argsToArray(arguments), concatedArgs = replacePlaceHolders(curriedArgs, args), placeHolders = concatedArgs.filter(isPlaceholder),
javascript
{ "resource": "" }
q61571
replacePlaceHolders
validation
function replacePlaceHolders (array, args) { var out = array.map(function (element) { return ! (element instanceof PlaceHolder) ? element :
javascript
{ "resource": "" }
q61572
classOf
validation
function classOf (value) { var retVal, valueType, toString; if (typeof value === _undefined) { retVal = _Undefined; } else if (value === null) { retVal = _Null; } else { toString = value.toString.name === 'toStri...
javascript
{ "resource": "" }
q61573
forEach
validation
function forEach (arrayLike, callback, context) { var classOfArrayLike = sjl.classOf(arrayLike); switch (classOfArrayLike) { case _Array: case 'Set': case 'SjlSet': case 'SjlMap': case 'Map': arrayLike.forEach(callback, context)...
javascript
{ "resource": "" }
q61574
classOfIsMulti
validation
function classOfIsMulti (value, type /**[,type...] **/) { return (sjl.restArgs(arguments,
javascript
{ "resource": "" }
q61575
isEmpty
validation
function isEmpty(value) { var classOfValue = classOf(value), retVal; // If value is an array or a string if (classOfValue === _Array || classOfValue === _String) { retVal = value.length === 0; } else if ((classOfValue === _Number && value !== 0) || (clas...
javascript
{ "resource": "" }
q61576
implode
validation
function implode (list, separator) { var retVal = '', prototypeOfList = Object.getPrototypeOf(list); if (isArray(list)) { retVal = list.join(separator); } else if (prototypeOfList.constructor.name === 'Set' || prototypeOfList.constructor.name === 'SjlSet') { ...
javascript
{ "resource": "" }
q61577
searchObj
validation
function searchObj (ns_string, objToSearch) { var parts = ns_string.split('.'), parent = objToSearch, classOfObj = classOf(objToSearch), i; throwTypeErrorIfNotOfType('sjl.searchObj', 'ns_string', ns_string, String); if (classOfObj !== _Object && objToSearch in...
javascript
{ "resource": "" }
q61578
extend
validation
function extend(o, p, deep) { // If `o` or `p` are not set bail if (!o || !p) { return o; } // Merge all props from `p` to `o` Object.keys(p).forEach(function (prop) { // For all props in p. // If property is present on target (o) and is not writable, ski...
javascript
{ "resource": "" }
q61579
extendMulti
validation
function extendMulti () { var args = argsToArray(arguments), deep = extractBoolFromArrayStart(args), arg0 = args.shift(); // Extend object `0` with other objects args.forEach(function (arg) { // Extend `arg0` if `arg` is an object
javascript
{ "resource": "" }
q61580
normalizeArgsForDefineSubClass
validation
function normalizeArgsForDefineSubClass (superClass, constructor, methods, statics) { superClass = superClass || Object.create(Object.prototype); // Snatched statics var _statics; // Should extract statics? if (isFunction(superClass)) { // Extract statics ...
javascript
{ "resource": "" }
q61581
makeExtendableConstructor
validation
function makeExtendableConstructor (constructor) { var extender = function (constructor_, methods_, statics_) { return defineSubClass(constructor, constructor_, methods_, statics_); }; /** * Extends a new copy of self with passed in parameters. * @memberof class:sj...
javascript
{ "resource": "" }
q61582
defineSubClassPure
validation
function defineSubClassPure (superClass, constructor, methods, statics) { var normalizedArgs = normalizeArgsForDefineSubClass.apply(null, arguments), _superClass = normalizedArgs.superClass, _statics = normalizedArgs.statics, _constructor = normalizedArgs.constructor, ...
javascript
{ "resource": "" }
q61583
throwTypeErrorIfEmpty
validation
function throwTypeErrorIfEmpty (prefix, paramName, value, type, suffix) {
javascript
{ "resource": "" }
q61584
valueOrDefault
validation
function valueOrDefault (value, defaultValue, type) { defaultValue = typeof defaultValue === _undefined ? null : defaultValue; var retVal; if (isset(type)) { retVal = issetAndOfType.apply(null, [value].concat(sjl.restArgs(arguments, 2)))
javascript
{ "resource": "" }
q61585
defineEnumProp
validation
function defineEnumProp(obj, key, value) { Object.defineProperty(obj, key,
javascript
{ "resource": "" }
q61586
unConfigurableNamespace
validation
function unConfigurableNamespace(ns_string, objToSearch, valueToSet) { var parent = objToSearch, shouldSetValue = typeof valueToSet !== _undefined, hasOwnProperty; ns_string.split('.').forEach(function (key, i, parts) { hasOwnProperty = parent.hasOwnProperty(key); ...
javascript
{ "resource": "" }
q61587
changeCaseOfFirstChar
validation
function changeCaseOfFirstChar(str, func, thisFuncsName) { var search, char, right, left; // If typeof `str` is not of type "String" then bail throwTypeErrorIfNotOfType(thisFuncsName, 'str', str, _String); // Search for first alpha char search = str.search(/[a-z]/i); /...
javascript
{ "resource": "" }
q61588
extractBoolFromArray
validation
function extractBoolFromArray(array, startOrEndBln) { var extractedValue = extractFromArrayAt( array, startOrEndBln ? 0 : array.length - 1, _Boolean,
javascript
{ "resource": "" }
q61589
mergeOnPropsMulti
validation
function mergeOnPropsMulti (obj1, obj2) { var args = argsToArray(arguments), deep = extractBoolFromArrayStart(args), arg0 = args.shift(); // Extend object `0` with other objects args.forEach(function (arg) { if (!isObject(arg)) {
javascript
{ "resource": "" }
q61590
validation
function (keyOrNsKey, value) { var self = this; if (sjl.isObject(keyOrNsKey)) { sjl.extend.apply(sjl, [true, self].concat(sjl.argsToArray(arguments))); } else if (sjl.isString(keyOrNsKey)) { sjl.autoNamespace(keyOrNs...
javascript
{ "resource": "" }
q61591
validation
function () { var self = this; return self.valid() ? { done: false,
javascript
{ "resource": "" }
q61592
validation
function (callback, context) { var self = this, values = self._values; context = context || self;
javascript
{ "resource": "" }
q61593
validation
function (value) { var _index = this._values.indexOf(value); if (_index > -1 && _index <= this._values.length) {
javascript
{ "resource": "" }
q61594
validation
function (key) { if (this.has(key)) { var _index = this._keys.indexOf(key); this._values.splice(_index, 1);
javascript
{ "resource": "" }
q61595
validation
function (key, value) { var index = this._keys.indexOf(key); if (index > -1) { this._keys[index] = key; this._values[index] = value; }
javascript
{ "resource": "" }
q61596
validation
function (object) { sjl.throwTypeErrorIfNotOfType(SjlMap.name, 'object', object, 'Object', 'Only `Object` types allowed.'); var self = this,
javascript
{ "resource": "" }
q61597
validation
function () { var self = this, out = {}; this._keys.forEach(function (key, i) {
javascript
{ "resource": "" }
q61598
validation
function () { var next = Iterator.prototype.next.call(this); if (!next.done && this.wrapItems) {
javascript
{ "resource": "" }
q61599
validation
function () { return this.sort().wrapItems ? new ObjectIterator(this._keys, this._values.map(function (item) { return item.value;
javascript
{ "resource": "" }