Export providers

This commit is contained in:
Raul Ochoa 2014-12-09 16:12:38 +01:00
parent 7d3d325d7a
commit 7463b461e6
4 changed files with 14 additions and 25 deletions

View File

@ -0,0 +1,5 @@
module.exports = {
json: require('./json'),
JsonArray: require('./jsonarray'),
windshaft: require('./windshaft')
};

View File

@ -1,7 +1,5 @@
(function(exports) { var torque = require('../');
var Profiler = require('../profiler');
var torque = exports.torque = exports.torque || {};
var providers = exports.torque.providers = exports.torque.providers || {};
var Uint8Array = torque.types.Uint8Array; var Uint8Array = torque.types.Uint8Array;
var Int32Array = torque.types.Int32Array; var Int32Array = torque.types.Int32Array;
@ -576,7 +574,4 @@
}; };
torque.providers.json = json; module.exports = json;
})(typeof exports === "undefined" ? this : exports);

View File

@ -1,8 +1,5 @@
(function(exports) { var torque = require('../');
var Profiler = require('../profiler');
var torque = exports.torque = exports.torque || {};
var providers = exports.torque.providers = exports.torque.providers || {};
var Uint8Array = torque.types.Uint8Array; var Uint8Array = torque.types.Uint8Array;
var Int32Array = torque.types.Int32Array; var Int32Array = torque.types.Int32Array;
@ -228,7 +225,4 @@
}; };
torque.providers.JsonArray = json module.exports = json;
})(typeof exports === "undefined" ? this : exports);

View File

@ -1,7 +1,5 @@
(function(exports) { var torque = require('../');
var Profiler = require('../profiler');
var torque = exports.torque = exports.torque || {};
var providers = exports.torque.providers = exports.torque.providers || {};
var Uint8Array = torque.types.Uint8Array; var Uint8Array = torque.types.Uint8Array;
var Int32Array = torque.types.Int32Array; var Int32Array = torque.types.Int32Array;
@ -445,7 +443,4 @@
}; };
torque.providers.windshaft = json; module.exports = json;
})(typeof exports === "undefined" ? this : exports);