mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
Improving the get restream credentials
This commit is contained in:
parent
654dda115a
commit
56cb1fd5cb
6058 changed files with 1166166 additions and 1430809 deletions
36
node_modules/is-function/index.js
generated
vendored
36
node_modules/is-function/index.js
generated
vendored
|
@ -1,18 +1,18 @@
|
|||
module.exports = isFunction
|
||||
|
||||
var toString = Object.prototype.toString
|
||||
|
||||
function isFunction (fn) {
|
||||
if (!fn) {
|
||||
return false
|
||||
}
|
||||
var string = toString.call(fn)
|
||||
return string === '[object Function]' ||
|
||||
(typeof fn === 'function' && string !== '[object RegExp]') ||
|
||||
(typeof window !== 'undefined' &&
|
||||
// IE8 and below
|
||||
(fn === window.setTimeout ||
|
||||
fn === window.alert ||
|
||||
fn === window.confirm ||
|
||||
fn === window.prompt))
|
||||
};
|
||||
module.exports = isFunction
|
||||
|
||||
var toString = Object.prototype.toString
|
||||
|
||||
function isFunction (fn) {
|
||||
if (!fn) {
|
||||
return false
|
||||
}
|
||||
var string = toString.call(fn)
|
||||
return string === '[object Function]' ||
|
||||
(typeof fn === 'function' && string !== '[object RegExp]') ||
|
||||
(typeof window !== 'undefined' &&
|
||||
// IE8 and below
|
||||
(fn === window.setTimeout ||
|
||||
fn === window.alert ||
|
||||
fn === window.confirm ||
|
||||
fn === window.prompt))
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue