mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Cleanup and add test-build to run-test.sh.
Former-commit-id: 29d198ca03dbd23b864a96ea48348fb22728056a
This commit is contained in:
@@ -222,7 +222,7 @@
|
||||
*/
|
||||
try {
|
||||
var useSourceURL = (Function('//@')(), !window.attachEvent);
|
||||
} catch(e){ }
|
||||
} catch(e) { }
|
||||
|
||||
/** Used to identify object classifications that are array-like */
|
||||
var arrayLikeClasses = {};
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
cd "$(dirname "$0")"
|
||||
for cmd in rhino ringo narwhal node; do
|
||||
echo ""
|
||||
echo "Testing in $cmd..."
|
||||
$cmd test.js
|
||||
echo ""
|
||||
echo "Testing in $cmd..."
|
||||
$cmd test.js
|
||||
done
|
||||
|
||||
echo ""
|
||||
echo "Testing build..."
|
||||
node test-build.js
|
||||
|
||||
echo ""
|
||||
echo "Testing in a browser..."
|
||||
open index.html
|
||||
|
||||
@@ -414,7 +414,7 @@
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
QUnit.module('build');
|
||||
QUnit.module('lodash build');
|
||||
|
||||
(function() {
|
||||
var commands = [
|
||||
@@ -514,9 +514,7 @@
|
||||
QUnit.module('strict modifier');
|
||||
|
||||
(function() {
|
||||
var object = {};
|
||||
|
||||
Object.defineProperties(object, {
|
||||
var object = Object.create(Object.prototype, {
|
||||
'a': { 'value': _.identify },
|
||||
'b': { 'value': null }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user