Permalink
Browse files

Move index file to the correct place.

  • Loading branch information...
1 parent 822672e commit 1e26c0c5b512ad6de68bb8f3ae159f42c982f2b2 @Kami Kami committed May 15, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 {lib → }/index.js
  2. +2 −2 tests/test-rate-limiter.js
@@ -15,5 +15,5 @@
* limitations under the License.
*/
-exports.RateLimiter = require('./rate-limiter').RateLimiter;
-exports.expressMiddleware = require('./rate-limiter').expressMiddleware;
+exports.RateLimiter = require('./lib/rate-limiter').RateLimiter;
+exports.expressMiddleware = require('./lib/rate-limiter').expressMiddleware;
@@ -21,8 +21,8 @@ var misc = require('util/misc');
var express = require('express');
-var RateLimiter = require('../lib/index').RateLimiter;
-var expressMiddleware = require('../lib/index').expressMiddleware;
+var RateLimiter = require('../index').RateLimiter;
+var expressMiddleware = require('../index').expressMiddleware;
exports['test_add_new_limit_success'] = function(test, assert) {
var limiter = new RateLimiter();

0 comments on commit 1e26c0c

Please sign in to comment.