mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
New updates and modules
This commit is contained in:
parent
4d5d408898
commit
0abf0f90f6
959 changed files with 364301 additions and 17493 deletions
17
node_modules/level-js/util/support.js
generated
vendored
Normal file
17
node_modules/level-js/util/support.js
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
'use strict'
|
||||
|
||||
var Buffer = require('buffer').Buffer
|
||||
|
||||
exports.test = function (key) {
|
||||
return function test (impl) {
|
||||
try {
|
||||
impl.cmp(key, 0)
|
||||
return true
|
||||
} catch (err) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Detect binary key support (IndexedDB Second Edition)
|
||||
exports.bufferKeys = exports.test(Buffer.alloc(0))
|
Loading…
Add table
Add a link
Reference in a new issue