Revision d8d2e4cb923ec5ce690234d8438a37687db89b25 authored by einaros on 30 April 2012, 22:26:36 UTC, committed by einaros on 30 April 2012, 22:26:36 UTC
1 parent 1eabfa8
Raw File
Validation.js
/*!
 * 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('./ValidationWindows');
} catch (e) {
  console.error('validation.node seems to not have been built. Run npm install.');
  throw e;
}}}
back to top