Add missing semicolons. [ci skip]

Former-commit-id: 7c9c39e84600f41d1a4f94224dfe5b2be8791d20
This commit is contained in:
John-David Dalton
2013-03-25 20:32:05 -07:00
parent 87f1d55bc2
commit 39158b0eb6
3 changed files with 11 additions and 11 deletions

View File

@@ -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);',
' }',

2
dist/lodash.js vendored
View File

@@ -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);

View File

@@ -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);
}