initial commit
This commit is contained in:
17
node_modules/websocket/lib/Validation.js
generated
vendored
Normal file
17
node_modules/websocket/lib/Validation.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/*!
|
||||
* UTF-8 Validation Code originally from:
|
||||
* ws: a node.js websocket client
|
||||
* Copyright(c) 2011 Einar Otto Stangvik <einaros@gmail.com>
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
try {
|
||||
module.exports = require('../build/Release/validation');
|
||||
} catch (e) { try {
|
||||
module.exports = require('../build/default/validation');
|
||||
} catch (e) { try {
|
||||
module.exports = require('./Validation.fallback');
|
||||
} catch (e) {
|
||||
console.error('validation.node seems not to have been built. Run npm install.');
|
||||
throw e;
|
||||
}}}
|
||||
Reference in New Issue
Block a user