Rename Lo-Dash references to lodash. [ci skip]

This commit is contained in:
jdalton
2015-01-24 11:56:29 -08:00
parent 4c8f3bd392
commit 7bec7ba49d
13 changed files with 83 additions and 83 deletions

View File

@@ -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 =
'<label for="perf-build">Build: </label>' +
'<select id="perf-build">' +
'<option value="lodash-compat">Lo-Dash (compat)</option>' +
'<option value="lodash-modern">Lo-Dash (modern)</option>' +
'<option value="lodash-custom-dev">Lo-Dash (custom development)</option>' +
'<option value="lodash-custom">Lo-Dash (custom production)</option>' +
'<option value="lodash-compat">lodash (compat)</option>' +
'<option value="lodash-modern">lodash (modern)</option>' +
'<option value="lodash-custom-dev">lodash (custom development)</option>' +
'<option value="lodash-custom">lodash (custom production)</option>' +
'</select>';
var span2 = document.createElement('span');
@@ -71,10 +71,10 @@
'<select id="perf-other">' +
'<option value="underscore-dev">Underscore (development)</option>' +
'<option value="underscore">Underscore (production)</option>' +
'<option value="lodash-compat">Lo-Dash (compat)</option>' +
'<option value="lodash-modern">Lo-Dash (modern)</option>' +
'<option value="lodash-custom-dev">Lo-Dash (custom development)</option>' +
'<option value="lodash-custom">Lo-Dash (custom production)</option>' +
'<option value="lodash-compat">lodash (compat)</option>' +
'<option value="lodash-modern">lodash (modern)</option>' +
'<option value="lodash-custom-dev">lodash (custom development)</option>' +
'<option value="lodash-custom">lodash (custom production)</option>' +
'</select>';
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) {

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Lo-Dash Performance Suite</title>
<title>lodash Performance Suite</title>
<style>
html, body {
margin: 0;

View File

@@ -21,7 +21,7 @@
/** Add `console.log()` support for Narwhal, Rhino, and RingoJS. */
var console = root.console || (root.console = { 'log': root.print });
/** The file path of the Lo-Dash file to test. */
/** The file path of the lodash file to test. */
var filePath = (function() {
var min = 0,
result = [];
@@ -67,7 +67,7 @@
'otherPath': 'underscore'
});
/** The Lo-Dash build basename. */
/** The lodash build basename. */
var buildName = root.buildName = basename(ui.buildPath, '.js');
/** The other library basename. */
@@ -96,7 +96,7 @@
? require
: (isJava && root.load) || noop;
/** Load Lo-Dash. */
/** Load lodash. */
var lodash = root.lodash || (root.lodash = (
lodash = load(filePath) || root._,
lodash = lodash._ || lodash,