swh:1:snp:c53ab93da1867a0ee99951a3636bca865f9194df
Raw File
Tip revision: e1b3267170494aba332d59bb8676dfaa504dafee authored by einaros on 30 March 2012, 18:59:48 UTC
bump
Tip revision: e1b3267
Validation.js
/*!
 * ws: a node.js websocket client
 * Copyright(c) 2011 Einar Otto Stangvik <einaros@gmail.com>
 * MIT Licensed
 */

/**
 * Node version 0.4 and 0.6 compatibility
 */

try {
  module.exports = require('../build/Release/validation');
} catch (e) { try {
  module.exports = require('../build/default/validation');
} catch (e) {
  console.error('validation.node has either not been built (run make),');
  console.error('or your node install has changed architecture (run make clean && make).')
  throw e;
}}
back to top