Skip to content

Commit

Permalink
renamed validation and bufferutil fallback files
Browse files Browse the repository at this point in the history
  • Loading branch information
einaros committed Jun 18, 2012
1 parent c5c7d2a commit 9892d7b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
4 changes: 0 additions & 4 deletions lib/BufferUtilWindows.js → lib/BufferUtil.fallback.js
Expand Up @@ -4,10 +4,6 @@
* MIT Licensed
*/

/**
* Windows Compatibility
*/

module.exports.BufferUtil = {
merge: function(mergedBuffer, buffers) {
var offset = 0;
Expand Down
2 changes: 1 addition & 1 deletion lib/BufferUtil.js
Expand Up @@ -9,7 +9,7 @@ try {
} catch (e) { try {
module.exports = require('../build/default/bufferutil');
} catch (e) { try {
module.exports = require('./BufferUtilWindows');
module.exports = require('./BufferUtil.fallback');
} catch (e) {
console.error('bufferutil.node seems to not have been built. Run npm install.');
throw e;
Expand Down
4 changes: 0 additions & 4 deletions lib/ValidationWindows.js → lib/Validation.fallback.js
Expand Up @@ -3,10 +3,6 @@
* Copyright(c) 2011 Einar Otto Stangvik <einaros@gmail.com>
* MIT Licensed
*/

/**
* Windows Compatibility
*/

module.exports.Validation = {
isValidUTF8: function(buffer) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Validation.js
Expand Up @@ -9,7 +9,7 @@ try {
} catch (e) { try {
module.exports = require('../build/default/validation');
} catch (e) { try {
module.exports = require('./ValidationWindows');
module.exports = require('./Validation.Fallback');
} catch (e) {
console.error('validation.node seems to not have been built. Run npm install.');
throw e;
Expand Down

0 comments on commit 9892d7b

Please sign in to comment.