├── README.md ├── lodash-after.sublime-snippet ├── lodash-assign.sublime-snippet ├── lodash-at.sublime-snippet ├── lodash-bind.sublime-snippet ├── lodash-bindAll.sublime-snippet ├── lodash-bindKey.sublime-snippet ├── lodash-chain-short.sublime-snippet ├── lodash-chain.sublime-snippet ├── lodash-clone.sublime-snippet ├── lodash-cloneDeep.sublime-snippet ├── lodash-compact.sublime-snippet ├── lodash-compose.sublime-snippet ├── lodash-contains.sublime-snippet ├── lodash-countBy.sublime-snippet ├── lodash-createCallback.sublime-snippet ├── lodash-curry.sublime-snippet ├── lodash-debounce.sublime-snippet ├── lodash-defaults.sublime-snippet ├── lodash-defer.sublime-snippet ├── lodash-delay.sublime-snippet ├── lodash-difference.sublime-snippet ├── lodash-escape.sublime-snippet ├── lodash-every.sublime-snippet ├── lodash-filter.sublime-snippet ├── lodash-find.sublime-snippet ├── lodash-findIndex.sublime-snippet ├── lodash-findKey.sublime-snippet ├── lodash-findLast.sublime-snippet ├── lodash-findLastIndex.sublime-snippet ├── lodash-findLastKey.sublime-snippet ├── lodash-first.sublime-snippet ├── lodash-flatten.sublime-snippet ├── lodash-forEach.sublime-snippet ├── lodash-forEachRight.sublime-snippet ├── lodash-forIn.sublime-snippet ├── lodash-forInRight.sublime-snippet ├── lodash-forOwn.sublime-snippet ├── lodash-forOwnRight.sublime-snippet ├── lodash-functions.sublime-snippet ├── lodash-groupBy.sublime-snippet ├── lodash-has.sublime-snippet ├── lodash-identity.sublime-snippet ├── lodash-indexBy.sublime-snippet ├── lodash-indexOf.sublime-snippet ├── lodash-initial.sublime-snippet ├── lodash-intersection.sublime-snippet ├── lodash-invert.sublime-snippet ├── lodash-invoke.sublime-snippet ├── lodash-isArguments.sublime-snippet ├── lodash-isArray.sublime-snippet ├── lodash-isBoolean.sublime-snippet ├── lodash-isDate.sublime-snippet ├── lodash-isElement.sublime-snippet ├── lodash-isEmpty.sublime-snippet ├── lodash-isEqual.sublime-snippet ├── lodash-isFinite.sublime-snippet ├── lodash-isFunction.sublime-snippet ├── lodash-isNaN.sublime-snippet ├── lodash-isNull.sublime-snippet ├── lodash-isNumber.sublime-snippet ├── lodash-isObject.sublime-snippet ├── lodash-isPlainObject.sublime-snippet ├── lodash-isRegExp.sublime-snippet ├── lodash-isString.sublime-snippet ├── lodash-isUndefined.sublime-snippet ├── lodash-keys.sublime-snippet ├── lodash-last.sublime-snippet ├── lodash-lastIndexOf.sublime-snippet ├── lodash-map.sublime-snippet ├── lodash-max.sublime-snippet ├── lodash-memoize.sublime-snippet ├── lodash-merge.sublime-snippet ├── lodash-min.sublime-snippet ├── lodash-mixin.sublime-snippet ├── lodash-noConflict.sublime-snippet ├── lodash-omit.sublime-snippet ├── lodash-once.sublime-snippet ├── lodash-pairs.sublime-snippet ├── lodash-parseInt.sublime-snippet ├── lodash-partial.sublime-snippet ├── lodash-partialRight.sublime-snippet ├── lodash-pick.sublime-snippet ├── lodash-pluck.sublime-snippet ├── lodash-pull.sublime-snippet ├── lodash-random.sublime-snippet ├── lodash-range.sublime-snippet ├── lodash-reduce.sublime-snippet ├── lodash-reduceRight.sublime-snippet ├── lodash-reject.sublime-snippet ├── lodash-remove.sublime-snippet ├── lodash-rest.sublime-snippet ├── lodash-result.sublime-snippet ├── lodash-runInContext.sublime-snippet ├── lodash-sample.sublime-snippet ├── lodash-shuffle.sublime-snippet ├── lodash-size.sublime-snippet ├── lodash-some.sublime-snippet ├── lodash-sortBy.sublime-snippet ├── lodash-sortedIndex.sublime-snippet ├── lodash-tap.sublime-snippet ├── lodash-template.sublime-snippet ├── lodash-throttle.sublime-snippet ├── lodash-times.sublime-snippet ├── lodash-toArray.sublime-snippet ├── lodash-transform.sublime-snippet ├── lodash-unescape.sublime-snippet ├── lodash-union.sublime-snippet ├── lodash-uniq.sublime-snippet ├── lodash-uniqueId.sublime-snippet ├── lodash-values.sublime-snippet ├── lodash-where.sublime-snippet ├── lodash-without.sublime-snippet ├── lodash-wrap.sublime-snippet ├── lodash-zip.sublime-snippet └── lodash-zipObject.sublime-snippet /README.md: -------------------------------------------------------------------------------- 1 | Sublime Text - Vanilla lodash Snippets 2 | ====================================== 3 | 4 | All your favorite lodash functions as snippets for the awesome Sublime Text Editor. 5 | 6 | Installation 7 | ------------ 8 | 9 | ### Sublime Text - Package Control 10 | 11 | Install via package control, see: `https://sublime.wbond.net/` for more details. 12 | 13 | Changelog 14 | --------- 15 | 16 | ### 0.0.4 17 | 18 | * use scope source.js.embedded.html, source.js 19 | 20 | ### 0.0.3 21 | 22 | * Removed semicolon endings to make snippets more generic 23 | 24 | ### 0.0.2 25 | 26 | * Shortened descriptions of most snippets 27 | * Moved all commas from required parameters outside of placeholders 28 | 29 | ### 0.0.1 30 | 31 | * Initial collection of lodash function snippets 32 | 33 | License 34 | ------- 35 | 36 | MIT -------------------------------------------------------------------------------- /lodash-after.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _after 6 | source.js.embedded.html, source.js 7 | Creates function that executes func after being called n times. 8 | 9 | -------------------------------------------------------------------------------- /lodash-assign.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _assign 6 | source.js.embedded.html, source.js 7 | Assigns own properties of source to object. 8 | 9 | -------------------------------------------------------------------------------- /lodash-at.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _at 6 | source.js.embedded.html, source.js 7 | Creates an array of elements from the specified indexes, or keys, of the collection. 8 | 9 | -------------------------------------------------------------------------------- /lodash-bind.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _bind 6 | source.js.embedded.html, source.js 7 | Creates a function that, when called, invokes func with the this binding of thisArg and prepends any additional bind arguments to those provided to the bound function. 8 | 9 | -------------------------------------------------------------------------------- /lodash-bindAll.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _bindAll 6 | source.js.embedded.html, source.js 7 | Binds methods of an object to the object itself, overwriting the existing method. Method names may be specified as individual arguments or as arrays of method names. 8 | 9 | -------------------------------------------------------------------------------- /lodash-bindKey.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _bindKey 6 | source.js.embedded.html, source.js 7 | Creates a function that, when called, invokes the method at object[key] and prepends any additional bindKey arguments to those provided to the bound function. 8 | 9 | -------------------------------------------------------------------------------- /lodash-chain-short.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _ 6 | source.js.embedded.html, source.js 7 | Creates a lodash object which wraps the given value. 8 | 9 | -------------------------------------------------------------------------------- /lodash-chain.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _chain 6 | source.js.embedded.html, source.js 7 | Creates a lodash object which wraps the given value. 8 | 9 | -------------------------------------------------------------------------------- /lodash-clone.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _clone 6 | source.js.embedded.html, source.js 7 | Creates a clone of value. 8 | 9 | -------------------------------------------------------------------------------- /lodash-cloneDeep.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _cloneDeep 6 | source.js.embedded.html, source.js 7 | Creates a deep clone of value. 8 | 9 | -------------------------------------------------------------------------------- /lodash-compact.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _compact 6 | source.js.embedded.html, source.js 7 | Creates an array with all falsey values removed. 8 | 9 | -------------------------------------------------------------------------------- /lodash-compose.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _compose 6 | source.js.embedded.html, source.js 7 | Creates a function that is the composition of the provided functions, where each function consumes the return value of the function that follows. 8 | 9 | -------------------------------------------------------------------------------- /lodash-contains.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _contains 6 | source.js.embedded.html, source.js 7 | Checks collection values for target. 8 | 9 | -------------------------------------------------------------------------------- /lodash-countBy.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _countBy 6 | source.js.embedded.html, source.js 7 | Creates an object composed of keys generated from the results of running each element of collection through the callback. 8 | 9 | -------------------------------------------------------------------------------- /lodash-createCallback.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _createCallback 6 | source.js.embedded.html, source.js 7 | Produces a callback bound to an optional thisArg. 8 | 9 | -------------------------------------------------------------------------------- /lodash-curry.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _curry 6 | source.js.embedded.html, source.js 7 | Creates a function which accepts one or more arguments of func that when invoked executes func returning its result. 8 | 9 | -------------------------------------------------------------------------------- /lodash-debounce.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _debounce 6 | source.js.embedded.html, source.js 7 | Creates function that delays execution of func wait milliseconds. 8 | 9 | -------------------------------------------------------------------------------- /lodash-defaults.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _defaults 6 | source.js.embedded.html, source.js 7 | Assigns own enumerable properties of source object(s) to the destination object for all destination properties that resolve to undefined. 8 | 9 | -------------------------------------------------------------------------------- /lodash-defer.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _defer 6 | source.js.embedded.html, source.js 7 | Defers executing the func function until the current call stack has cleared. 8 | 9 | -------------------------------------------------------------------------------- /lodash-delay.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _delay 6 | source.js.embedded.html, source.js 7 | Executes the func function after wait milliseconds. 8 | 9 | -------------------------------------------------------------------------------- /lodash-difference.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _difference 6 | source.js.embedded.html, source.js 7 | Creates array excluding all values of provided arrays. 8 | 9 | -------------------------------------------------------------------------------- /lodash-escape.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _escape 6 | source.js.embedded.html, source.js 7 | Converts &, <, >, "e;, and ' to their corresponding HTML entities. 8 | 9 | -------------------------------------------------------------------------------- /lodash-every.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _every 6 | source.js.embedded.html, source.js 7 | Checks if the given callback returns truey value for all elements of a collection. 8 | 9 | -------------------------------------------------------------------------------- /lodash-filter.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _filter 6 | source.js.embedded.html, source.js 7 | Iterates over elements of a collection, returning an array of all elements the callback returns truey for. 8 | 9 | -------------------------------------------------------------------------------- /lodash-find.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _find 6 | source.js.embedded.html, source.js 7 | Iterates over elements of a collection, returning the first element that the callback returns truey for. 8 | 9 | -------------------------------------------------------------------------------- /lodash-findIndex.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _findIndex 6 | source.js.embedded.html, source.js 7 | Returns the index of the first element that passes the callback check. 8 | 9 | -------------------------------------------------------------------------------- /lodash-findKey.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _findKey 6 | source.js.embedded.html, source.js 7 | Returns the key of the first element that passes the callback check. 8 | 9 | -------------------------------------------------------------------------------- /lodash-findLast.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _findLast 6 | source.js.embedded.html, source.js 7 | Iterates over elements of a collection from right to left, returning the first element that the callback returns truey for. 8 | 9 | -------------------------------------------------------------------------------- /lodash-findLastIndex.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _findLastIndex 6 | source.js.embedded.html, source.js 7 | Returns the index of the first element that passes the callback check, right to left. 8 | 9 | -------------------------------------------------------------------------------- /lodash-findLastKey.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _findLastKey 6 | source.js.embedded.html, source.js 7 | Returns the key of the first element that passes the callback check from right to left. 8 | 9 | -------------------------------------------------------------------------------- /lodash-first.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _first 6 | source.js.embedded.html, source.js 7 | Gets the first element or first n elements of an array. 8 | 9 | -------------------------------------------------------------------------------- /lodash-flatten.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _flatten 6 | source.js.embedded.html, source.js 7 | Flattens a nested array. 8 | 9 | -------------------------------------------------------------------------------- /lodash-forEach.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _forEach 6 | source.js.embedded.html, source.js 7 | Iterates over elements of a collection, executing the callback for each element. 8 | 9 | -------------------------------------------------------------------------------- /lodash-forEachRight.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _forEachRight 6 | source.js.embedded.html, source.js 7 | Iterates over elements of a collection from right to left, executing the callback for each element. 8 | 9 | -------------------------------------------------------------------------------- /lodash-forIn.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _forIn 6 | source.js.embedded.html, source.js 7 | Iterates over own and inherited enumerable properties of an object, executing the callback for each property. 8 | 9 | -------------------------------------------------------------------------------- /lodash-forInRight.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _forInRight 6 | source.js.embedded.html, source.js 7 | Iterates over own and inherited enumerable properties of an object, executing the callback for each property from right to left. 8 | 9 | -------------------------------------------------------------------------------- /lodash-forOwn.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _forOwn 6 | source.js.embedded.html, source.js 7 | Iterates over own enumerable properties of an object, executing the callback for each property. 8 | 9 | -------------------------------------------------------------------------------- /lodash-forOwnRight.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _forOwnRight 6 | source.js.embedded.html, source.js 7 | Iterates over own enumerable properties of an object, executing the callback for each property from right to left. 8 | 9 | -------------------------------------------------------------------------------- /lodash-functions.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _functions 6 | source.js.embedded.html, source.js 7 | Creates a sorted array of property names of all enumerable properties, own and inherited, of object that have function values. 8 | 9 | -------------------------------------------------------------------------------- /lodash-groupBy.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _groupBy 6 | source.js.embedded.html, source.js 7 | Creates an object composed of keys generated from the results of running each element of a collection through the callback. 8 | 9 | -------------------------------------------------------------------------------- /lodash-has.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _has 6 | source.js.embedded.html, source.js 7 | Checks if direct property of object. 8 | 9 | -------------------------------------------------------------------------------- /lodash-identity.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _identity 6 | source.js.embedded.html, source.js 7 | This method returns the first argument provided to it. 8 | 9 | -------------------------------------------------------------------------------- /lodash-indexBy.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _indexBy 6 | source.js.embedded.html, source.js 7 | Creates an object composed of keys generated from the results of running each element of the collection through the given callback. 8 | 9 | -------------------------------------------------------------------------------- /lodash-indexOf.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _indexOf 6 | source.js.embedded.html, source.js 7 | Gets the index at which the first occurrence of value is found. 8 | 9 | -------------------------------------------------------------------------------- /lodash-initial.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _initial 6 | source.js.embedded.html, source.js 7 | Gets all but the last element or last n elements of an array. 8 | 9 | -------------------------------------------------------------------------------- /lodash-intersection.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _intersection 6 | source.js.embedded.html, source.js 7 | Creates an array of unique values present in all provided arrays. 8 | 9 | -------------------------------------------------------------------------------- /lodash-invert.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _invert 6 | source.js.embedded.html, source.js 7 | Creates an object composed of the inverted keys and values of the given object. 8 | 9 | -------------------------------------------------------------------------------- /lodash-invoke.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _invoke 6 | source.js.embedded.html, source.js 7 | Invokes method named methodName on each element in collection. Returns array of results. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isArguments.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isArguments 6 | source.js.embedded.html, source.js 7 | Checks if value is an arguments object. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isArray.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isArray 6 | source.js.embedded.html, source.js 7 | Checks if value is an array. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isBoolean.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isBoolean 6 | source.js.embedded.html, source.js 7 | Checks if value is a boolean value. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isDate.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isDate 6 | source.js.embedded.html, source.js 7 | Checks if value is a date. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isElement.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isElement 6 | source.js.embedded.html, source.js 7 | Checks if value is a DOM element. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isEmpty.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isEmpty 6 | source.js.embedded.html, source.js 7 | Checks if value is empty. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isEqual.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isEqual 6 | source.js.embedded.html, source.js 7 | Performs a deep comparison between two values to determine if they are equivalent to each other. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isFinite.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isFinite 6 | source.js.embedded.html, source.js 7 | Checks if value is, or can be coerced to, a finite number. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isFunction.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isFunction 6 | source.js.embedded.html, source.js 7 | Checks if value is a function. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isNaN.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isNaN 6 | source.js.embedded.html, source.js 7 | Checks if value is NaN. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isNull.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isNull 6 | source.js.embedded.html, source.js 7 | Checks if value is null. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isNumber.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isNumber 6 | source.js.embedded.html, source.js 7 | Checks if value is number. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isObject.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isObject 6 | source.js.embedded.html, source.js 7 | Checks if value is the language type of Object. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isPlainObject.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isPlainObject 6 | source.js.embedded.html, source.js 7 | Checks if value is an object created by the Object constructor. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isRegExp.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isRegExp 6 | source.js.embedded.html, source.js 7 | Checks if value is a regular expression. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isString.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isString 6 | source.js.embedded.html, source.js 7 | Checks if value is a string. 8 | 9 | -------------------------------------------------------------------------------- /lodash-isUndefined.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _isUndefined 6 | source.js.embedded.html, source.js 7 | Checks if value is undefined. 8 | 9 | -------------------------------------------------------------------------------- /lodash-keys.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _keys 6 | source.js.embedded.html, source.js 7 | Creates an array composed of the own enumerable property names of an object. 8 | 9 | -------------------------------------------------------------------------------- /lodash-last.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _last 6 | source.js.embedded.html, source.js 7 | Gets the last element or last n elements of an array. 8 | 9 | -------------------------------------------------------------------------------- /lodash-lastIndexOf.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _lastIndexOf 6 | source.js.embedded.html, source.js 7 | Gets the index at which the last occurrence of value is found. 8 | 9 | -------------------------------------------------------------------------------- /lodash-map.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _map 6 | source.js.embedded.html, source.js 7 | Creates an array of values by running each element in the collection through the callback. 8 | 9 | -------------------------------------------------------------------------------- /lodash-max.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _max 6 | source.js.embedded.html, source.js 7 | Retrieves the maximum value of a collection. 8 | 9 | -------------------------------------------------------------------------------- /lodash-memoize.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _memoize 6 | source.js.embedded.html, source.js 7 | Creates a function that memoizes the result of func. 8 | 9 | -------------------------------------------------------------------------------- /lodash-merge.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _merge 6 | source.js.embedded.html, source.js 7 | Recursively merges own enumerable properties of the source object(s), that don't resolve to undefined into the destination object. 8 | 9 | -------------------------------------------------------------------------------- /lodash-min.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _min 6 | source.js.embedded.html, source.js 7 | Retrieves the minimum value of a collection. 8 | 9 | -------------------------------------------------------------------------------- /lodash-mixin.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _mixin 6 | source.js.embedded.html, source.js 7 | Adds function properties of a source object to the lodash function and chainable wrapper. 8 | 9 | -------------------------------------------------------------------------------- /lodash-noConflict.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _noConflict 6 | source.js.embedded.html, source.js 7 | Reverts the '_' variable to its previous value and returns a reference to the lodash function. 8 | 9 | -------------------------------------------------------------------------------- /lodash-omit.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _omit 6 | source.js.embedded.html, source.js 7 | Creates a shallow clone of object excluding the specified properties. 8 | 9 | -------------------------------------------------------------------------------- /lodash-once.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _once 6 | source.js.embedded.html, source.js 7 | Creates a function that is restricted to execute func once. 8 | 9 | -------------------------------------------------------------------------------- /lodash-pairs.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _pairs 6 | source.js.embedded.html, source.js 7 | Creates a two dimensional array of an object’s key-value pairs. 8 | 9 | -------------------------------------------------------------------------------- /lodash-parseInt.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _parseInt 6 | source.js.embedded.html, source.js 7 | Converts the given value into an integer of the specified radix. 8 | 9 | -------------------------------------------------------------------------------- /lodash-partial.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _partial 6 | source.js.embedded.html, source.js 7 | Creates a function that, when called, invokes func with any additional partial arguments prepended to those provided to the new function. 8 | 9 | -------------------------------------------------------------------------------- /lodash-partialRight.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _partialRight 6 | source.js.embedded.html, source.js 7 | Creates a function that, when called, invokes func with any additional partial arguments appended to those provided to the new function. 8 | 9 | -------------------------------------------------------------------------------- /lodash-pick.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _pick 6 | source.js.embedded.html, source.js 7 | Creates a shallow clone of object composed of the specified properties. 8 | 9 | -------------------------------------------------------------------------------- /lodash-pluck.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _pluck 6 | source.js.embedded.html, source.js 7 | Retrieves the value of a specified property from all elements in the collection. 8 | 9 | -------------------------------------------------------------------------------- /lodash-pull.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _pull 6 | source.js.embedded.html, source.js 7 | Removes all provided values from the given array. 8 | 9 | -------------------------------------------------------------------------------- /lodash-random.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _random 6 | source.js.embedded.html, source.js 7 | Produces a random number between min and max (inclusive). 8 | 9 | -------------------------------------------------------------------------------- /lodash-range.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _range 6 | source.js.embedded.html, source.js 7 | Creates an array of numbers (positive and/or negative) progressing from start up to but not including end. 8 | 9 | -------------------------------------------------------------------------------- /lodash-reduce.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _reduce 6 | source.js.embedded.html, source.js 7 | Reduces a collection to a value which is the accumulated result of running each element in the collection through the callback. 8 | 9 | -------------------------------------------------------------------------------- /lodash-reduceRight.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _reduceRight 6 | source.js.embedded.html, source.js 7 | Reduces a collection to a value which is the accumulated result of running each element in the collection through the callback from right to left. 8 | 9 | -------------------------------------------------------------------------------- /lodash-reject.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _reject 6 | source.js.embedded.html, source.js 7 | Returns the elements of a collection that the callback does not return truey for. 8 | 9 | -------------------------------------------------------------------------------- /lodash-remove.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _remove 6 | source.js.embedded.html, source.js 7 | Removes all elements from an array that the callback returns truey for and returns an array of removed elements. 8 | 9 | -------------------------------------------------------------------------------- /lodash-rest.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _rest 6 | source.js.embedded.html, source.js 7 | Gets all but the first element or first n elements of an array. 8 | 9 | -------------------------------------------------------------------------------- /lodash-result.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _result 6 | source.js.embedded.html, source.js 7 | Resolves the value of property on object. 8 | 9 | -------------------------------------------------------------------------------- /lodash-runInContext.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _runInContext 6 | source.js.embedded.html, source.js 7 | Create a new lodash function using the given context object. 8 | 9 | -------------------------------------------------------------------------------- /lodash-sample.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _sample 6 | source.js.embedded.html, source.js 7 | Retrieves a random element or n random elements from a collection. 8 | 9 | -------------------------------------------------------------------------------- /lodash-shuffle.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _shuffle 6 | source.js.embedded.html, source.js 7 | Creates an array of shuffled values, using a version of the Fisher-Yates shuffle. 8 | 9 | -------------------------------------------------------------------------------- /lodash-size.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _size 6 | source.js.embedded.html, source.js 7 | Gets the size of the collection by returning collection.length. 8 | 9 | -------------------------------------------------------------------------------- /lodash-some.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _some 6 | source.js.embedded.html, source.js 7 | Checks if the callback returns a truey value for any element of a collection. The function returns as soon as it finds a passing value and does not iterate over the entire collection. 8 | 9 | -------------------------------------------------------------------------------- /lodash-sortBy.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _sortBy 6 | source.js.embedded.html, source.js 7 | Creates an array of elements, sorted in ascending order by the results of running each element in a collection through the callback. 8 | 9 | -------------------------------------------------------------------------------- /lodash-sortedIndex.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _sortedIndex 6 | source.js.embedded.html, source.js 7 | Uses a binary search to determine the smallest index at which a value should be inserted into a given sorted array in order to maintain the sort order of the array. 8 | 9 | -------------------------------------------------------------------------------- /lodash-tap.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _tap 6 | source.js.embedded.html, source.js 7 | Invokes interceptor with the value as the first argument and then returns value. 8 | 9 | -------------------------------------------------------------------------------- /lodash-template.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _template 6 | source.js.embedded.html, source.js 7 | A micro-templating method that handles arbitrary delimiters, preserves whitespace, and correctly escapes quotes within interpolated code. 8 | 9 | -------------------------------------------------------------------------------- /lodash-throttle.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _throttle 6 | source.js.embedded.html, source.js 7 | Creates a function that, when executed, will only call the func function at most once per every wait milliseconds. 8 | 9 | -------------------------------------------------------------------------------- /lodash-times.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _times 6 | source.js.embedded.html, source.js 7 | Executes the callback n times, returning an array of the results of each callback execution. 8 | 9 | -------------------------------------------------------------------------------- /lodash-toArray.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _toArray 6 | source.js.embedded.html, source.js 7 | Converts the collection to an array. 8 | 9 | -------------------------------------------------------------------------------- /lodash-transform.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _transform 6 | source.js.embedded.html, source.js 7 | Transforms object to a new accumulator object which is the result of running each of its elements through a callback. 8 | 9 | -------------------------------------------------------------------------------- /lodash-unescape.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _unescape 6 | source.js.embedded.html, source.js 7 | Converts &, <, >, ", and ' to characters. 8 | 9 | -------------------------------------------------------------------------------- /lodash-union.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _union 6 | source.js.embedded.html, source.js 7 | Creates an array of unique values. 8 | 9 | -------------------------------------------------------------------------------- /lodash-uniq.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _uniq 6 | source.js.embedded.html, source.js 7 | Creates a duplicate-value-free version of an array. 8 | 9 | -------------------------------------------------------------------------------- /lodash-uniqueId.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _uniqueId 6 | source.js.embedded.html, source.js 7 | Generates a unique ID. 8 | 9 | -------------------------------------------------------------------------------- /lodash-values.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _values 6 | source.js.embedded.html, source.js 7 | Creates an array composed of the own enumerable property values of object. 8 | 9 | -------------------------------------------------------------------------------- /lodash-where.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _where 6 | source.js.embedded.html, source.js 7 | Performs deep comparison of each element collection to properties object: Returns array of elements with equivalent values. 8 | 9 | -------------------------------------------------------------------------------- /lodash-without.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _without 6 | source.js.embedded.html, source.js 7 | Creates an array excluding all provided values. 8 | 9 | -------------------------------------------------------------------------------- /lodash-wrap.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _wrap 6 | source.js.embedded.html, source.js 7 | Creates a function that provides value to the wrapper function as its first argument. 8 | 9 | -------------------------------------------------------------------------------- /lodash-zip.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _zip 6 | source.js.embedded.html, source.js 7 | Creates an array of grouped elements, the nth of which contains the nth elements of the given arrays. 8 | 9 | -------------------------------------------------------------------------------- /lodash-zipObject.sublime-snippet: -------------------------------------------------------------------------------- 1 | 2 | 5 | _zipObject 6 | source.js.embedded.html, source.js 7 | Creates an object composed from arrays of keys and values. 8 | 9 | --------------------------------------------------------------------------------