diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 17d88b926..cca489a1f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ -# Contributing to Lo-Dash +# Contributing to lodash -If you’d like to contribute a feature or bug fix, you can [fork](https://help.github.com/articles/fork-a-repo/) Lo-Dash, commit your changes, & [send a pull request](https://help.github.com/articles/using-pull-requests/). +If you’d like to contribute a feature or bug fix, you can [fork](https://help.github.com/articles/fork-a-repo/) lodash, commit your changes, & [send a pull request](https://help.github.com/articles/using-pull-requests/). Please make sure to [search the issue tracker](https://github.com/lodash/lodash/issues) first; your issue may have already been discussed or fixed in `master`. ## Tests @@ -14,7 +14,7 @@ The [Backbone](http://backbonejs.org/) & [Underscore](http://underscorejs.org/) ## Contributor License Agreement -Lo-Dash is a member of the [Dojo Foundation](http://dojofoundation.org/). +lodash is a member of the [Dojo Foundation](http://dojofoundation.org/). As such, we request that all contributors sign the Dojo Foundation [contributor license agreement](http://dojofoundation.org/about/claForm). For more information about CLAs, please check out Alex Russell’s excellent post, [“Why Do I Need to Sign This?”](http://infrequently.org/2008/06/why-do-i-need-to-sign-this/). diff --git a/README.md b/README.md index c15bf198f..c4259a138 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # lodash v3.0.0-pre -The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [Lo-Dash](https://lodash.com/) with packages for [Bower](http://bower.io/), [Component](http://component.github.io/), & [Volo](http://volojs.org/). +The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash](https://lodash.com/) with packages for [Bower](http://bower.io/), [Component](http://component.github.io/), & [Volo](http://volojs.org/). Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli): ```bash @@ -9,7 +9,7 @@ $ lodash modern -o ./lodash.js ## Module formats -Lo-Dash is also available in a variety of other builds & module formats. +lodash is also available in a variety of other builds & module formats. * npm packages for [modern](https://www.npmjs.com/package/lodash), [compatibility](https://www.npmjs.com/package/lodash-compat), & [per method](https://www.npmjs.com/browse/keyword/lodash-modularized) builds * AMD modules for [modern](https://github.com/lodash/lodash/tree/3.0.0-amd) & [compatibility](https://github.com/lodash/lodash-compat/tree/3.0.0-amd) builds diff --git a/component.json b/component.json index bd9dc72e0..d0a294d92 100644 --- a/component.json +++ b/component.json @@ -2,7 +2,7 @@ "name": "lodash", "repo": "lodash/lodash", "version": "3.0.0", - "description": "The modern build of Lo-Dash.", + "description": "The modern build of lodash.", "license": "MIT", "main": "lodash.js", "keywords": ["stdlib", "util"], diff --git a/lodash.min.js b/lodash.min.js index d48478a75..117b14cd2 100644 --- a/lodash.min.js +++ b/lodash.min.js @@ -82,4 +82,4 @@ var r=0>n?this.takeRight(-n):this.drop(n);return typeof t!="undefined"&&(t=+t||0 n:for(;u--&&c"'`]/g,K=RegExp(q.source),V=RegExp(P.source),Y=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,G=/<%=([\s\S]+?)%>/g,J=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,X=/\w*$/,H=/^\s*function[ \n\r\t]+\w/,Q=/^0[xX]/,nt=/^\[object .+?Constructor\]$/,tt=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,rt=/($^)/,et=/[.*+?^${}()|[\]\/\\]/g,ut=RegExp(et.source),ot=/\bthis\b/,it=/['\n\r\u2028\u2029\\]/g,ft=RegExp("[A-Z\\xc0-\\xd6\\xd8-\\xde]{2,}(?=[A-Z\\xc0-\\xd6\\xd8-\\xde][a-z\\xdf-\\xf6\\xf8-\\xff]+)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+|[A-Z\\xc0-\\xd6\\xd8-\\xde]+|[0-9]+","g"),at=" \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000",ct="Array ArrayBuffer Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Math Number Object RegExp Set String _ clearTimeout document isFinite parseInt setTimeout TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap window WinRTError".split(" "),lt="[object Arguments]",st="[object Array]",pt="[object Boolean]",ht="[object Date]",gt="[object Error]",vt="[object Function]",dt="[object Number]",yt="[object Object]",_t="[object RegExp]",mt="[object String]",bt="[object ArrayBuffer]",wt="[object Float32Array]",xt="[object Float64Array]",At="[object Int8Array]",jt="[object Int16Array]",Et="[object Int32Array]",Rt="[object Uint8Array]",kt="[object Uint8ClampedArray]",It="[object Uint16Array]",Ot="[object Uint32Array]",Ct={}; Ct[lt]=Ct[st]=Ct[wt]=Ct[xt]=Ct[At]=Ct[jt]=Ct[Et]=Ct[Rt]=Ct[kt]=Ct[It]=Ct[Ot]=true,Ct[bt]=Ct[pt]=Ct[ht]=Ct[gt]=Ct[vt]=Ct["[object Map]"]=Ct[dt]=Ct[yt]=Ct[_t]=Ct["[object Set]"]=Ct[mt]=Ct["[object WeakMap]"]=false;var St={};St[lt]=St[st]=St[bt]=St[pt]=St[ht]=St[wt]=St[xt]=St[At]=St[jt]=St[Et]=St[dt]=St[yt]=St[_t]=St[mt]=St[Rt]=St[kt]=St[It]=St[Ot]=true,St[gt]=St[vt]=St["[object Map]"]=St["[object Set]"]=St["[object WeakMap]"]=false;var Tt={leading:false,maxWait:0,trailing:false},Wt={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss"},Nt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ft={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Ut={"function":true,object:true},Lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$t=Ut[typeof window]&&window!==(this&&this.window)?window:this,Bt=Ut[typeof exports]&&exports&&!exports.nodeType&&exports,Ut=Ut[typeof module]&&module&&!module.nodeType&&module,zt=Bt&&Ut&&typeof global=="object"&&global; -!zt||zt.global!==zt&&zt.window!==zt&&zt.self!==zt||($t=zt);var zt=Ut&&Ut.exports===Bt&&Bt,Dt=m();typeof define=="function"&&typeof define.amd=="object"&&define.amd?($t._=Dt, define(function(){return Dt})):Bt&&Ut?zt?(Ut.exports=Dt)._=Dt:Bt._=Dt:$t._=Dt}).call(this); \ No newline at end of file +!zt||zt.global!==zt&&zt.window!==zt&&zt.self!==zt||($t=zt);var zt=Ut&&Ut.exports===Bt&&Bt,Dt=m();typeof define=="function"&&typeof define.amd=="object"&&define.amd?($t._=Dt, define(function(){return Dt})):Bt&&Ut?zt?(Ut.exports=Dt)._=Dt:Bt._=Dt:$t._=Dt}).call(this); diff --git a/lodash.src.js b/lodash.src.js index 7f935674c..9129c4ddc 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -1,6 +1,6 @@ /** * @license - * Lo-Dash 3.0.0-pre + * lodash 3.0.0-pre * Copyright 2012-2015 The Dojo Foundation * Based on Underscore.js 1.7.0 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors @@ -849,7 +849,7 @@ * Chaining is supported in custom builds as long as the `_#value` method is * directly or indirectly included in the build. * - * In addition to Lo-Dash methods, wrappers also have the following `Array` methods: + * In addition to lodash methods, wrappers also have the following `Array` methods: * `concat`, `join`, `pop`, `push`, `reverse`, `shift`, `slice`, `sort`, `splice`, * and `unshift` * @@ -1103,7 +1103,7 @@ }(0, 0)); /** - * By default, the template delimiters used by Lo-Dash are like those in + * By default, the template delimiters used by lodash are like those in * embedded Ruby (ERB). Change the following template settings to use * alternative delimiters. * @@ -8818,7 +8818,7 @@ while (++index < length) { result[index] = (index + ''); } - // Lo-Dash skips the `constructor` property when it infers it is iterating + // lodash skips the `constructor` property when it infers it is iterating // over a `prototype` object because IE < 9 can't set the `[[Enumerable]]` // attribute of an existing property and the `constructor` property of a // prototype defaults to non-enumerable. @@ -9683,7 +9683,7 @@ * for more details. * * For more information on precompiling templates see - * [Lo-Dash's custom builds documentation](https://lodash.com/custom-builds). + * [lodash's custom builds documentation](https://lodash.com/custom-builds). * * For more information on Chrome extension sandboxes see * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval). @@ -10986,13 +10986,13 @@ /*--------------------------------------------------------------------------*/ - // Export Lo-Dash. + // Export lodash. var _ = runInContext(); // Some AMD build optimizers like r.js check for condition patterns like the following: if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) { - // Expose Lo-Dash to the global object when an AMD loader is present to avoid - // errors in cases where Lo-Dash is loaded by a script tag and not intended + // Expose lodash to the global object when an AMD loader is present to avoid + // errors in cases where lodash is loaded by a script tag and not intended // as an AMD module. See http://requirejs.org/docs/errors.html#mismatch. root._ = _; diff --git a/perf/asset/perf-ui.js b/perf/asset/perf-ui.js index b4750828b..c1a4897e5 100644 --- a/perf/asset/perf-ui.js +++ b/perf/asset/perf-ui.js @@ -1,10 +1,10 @@ ;(function(window) { 'use strict'; - /** The base path of the Lo-Dash builds. */ + /** The base path of the lodash builds. */ var basePath = '../'; - /** The Lo-Dash build to load. */ + /** The lodash build to load. */ var build = (build = /build=([^&]+)/.exec(location.search)) && decodeURIComponent(build[1]); /** The other library to load. */ @@ -58,10 +58,10 @@ span1.innerHTML = '' + ''; var span2 = document.createElement('span'); @@ -71,10 +71,10 @@ ''; var buildList = span1.lastChild, @@ -112,7 +112,7 @@ addListener(otherList, 'change', eventHandler); }); - // The Lo-Dash build file path. + // The lodash build file path. ui.buildPath = (function() { var result; switch (build) { diff --git a/perf/index.html b/perf/index.html index a5285ac60..be070ef10 100644 --- a/perf/index.html +++ b/perf/index.html @@ -2,7 +2,7 @@ - Lo-Dash Performance Suite + lodash Performance Suite