mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 20:07:49 +00:00
Make tests work in Phantom 2.
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
result = [];
|
result = [];
|
||||||
|
|
||||||
if (phantom) {
|
if (phantom) {
|
||||||
result = params = phantom.args;
|
result = params = phantom.args || require('system').args;
|
||||||
} else if (system) {
|
} else if (system) {
|
||||||
min = 1;
|
min = 1;
|
||||||
result = params = system.args;
|
result = params = system.args;
|
||||||
|
|||||||
Reference in New Issue
Block a user