mirror of
https://github.com/encounter/phantomjs.git
synced 2026-03-30 11:35:11 -07:00
18 lines
282 B
JavaScript
18 lines
282 B
JavaScript
(function (opts) {
|
|
var i;
|
|
|
|
opts = opts || {};
|
|
|
|
if (typeof opts !== 'object') {
|
|
return;
|
|
}
|
|
|
|
for (i in opts) {
|
|
if (opts.hasOwnProperty(i) && typeof opts[i] !== 'undefined') {
|
|
config[i] = opts[i];
|
|
}
|
|
}
|
|
|
|
return null;
|
|
})((%1));
|