From 39158b0eb6fec005203c8739fa68baf7134fe699 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 25 Mar 2013 20:32:05 -0700 Subject: [PATCH] Add missing semicolons. [ci skip] Former-commit-id: 7c9c39e84600f41d1a4f94224dfe5b2be8791d20 --- build.js | 10 +++++----- dist/lodash.js | 2 +- dist/lodash.underscore.js | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/build.js b/build.js index 87f41f426..b49647aad 100755 --- a/build.js +++ b/build.js @@ -1910,7 +1910,7 @@ " if (typeof length == 'number') {", ' var result = Array(length);', ' while (++index < length) {', - ' result[index] = collection[index][property]', + ' result[index] = collection[index][property];', ' }', ' }', ' return result || map(collection, property);', @@ -1980,7 +1980,7 @@ 'function clone(value) {', ' return isObject(value)', ' ? (isArray(value) ? slice(value) : assign({}, value))', - ' : value', + ' : value;', '}' ].join('\n')); } @@ -2030,7 +2030,7 @@ ' result = [];', '', ' while (++index < length) {', - ' var value = array[index]', + ' var value = array[index];', ' if (indexOf(flattened, value, length) < 0) {', ' result.push(value);', ' }', @@ -2208,7 +2208,7 @@ 'function lodash(value) {', ' return (value instanceof lodash)', ' ? value', - ' : new lodashWrapper(value)', + ' : new lodashWrapper(value);', '}' ].join('\n')); @@ -2397,7 +2397,7 @@ ' result = [];', '', ' while (++index < length) {', - ' var value = array[index]', + ' var value = array[index];', ' if (indexOf(arguments, value, 1) < 0) {', ' result.push(value);', ' }', diff --git a/dist/lodash.js b/dist/lodash.js index 41f58e468..59b6d3dfb 100644 --- a/dist/lodash.js +++ b/dist/lodash.js @@ -2662,7 +2662,7 @@ if (typeof length == 'number') { var result = Array(length); while (++index < length) { - result[index] = collection[index][property] + result[index] = collection[index][property]; } } return result || map(collection, property); diff --git a/dist/lodash.underscore.js b/dist/lodash.underscore.js index 8be1e9ebe..b22e5b7bc 100644 --- a/dist/lodash.underscore.js +++ b/dist/lodash.underscore.js @@ -180,7 +180,7 @@ function lodash(value) { return (value instanceof lodash) ? value - : new lodashWrapper(value) + : new lodashWrapper(value); } /** @@ -632,7 +632,7 @@ function clone(value) { return isObject(value) ? (isArray(value) ? slice.call(value) : assign({}, value)) - : value + : value; } /** @@ -1994,7 +1994,7 @@ if (typeof length == 'number') { var result = Array(length); while (++index < length) { - result[index] = collection[index][property] + result[index] = collection[index][property]; } } return result || map(collection, property); @@ -2416,7 +2416,7 @@ result = []; while (++index < length) { - var value = array[index] + var value = array[index]; if (indexOf(flattened, value, length) < 0) { result.push(value); } @@ -3128,7 +3128,7 @@ result = []; while (++index < length) { - var value = array[index] + var value = array[index]; if (indexOf(arguments, value, 1) < 0) { result.push(value); }