Permalink
Browse files

Remove unused `inherits` function from javascript shim

  • Loading branch information...
homme committed Nov 1, 2012
1 parent 8556673 commit ff812490d1bd16bbaf8adca2d5b4975ddc6c6f59
Showing with 0 additions and 7 deletions.
  1. +0 −7 lib/mapcache.js
View
@@ -80,13 +80,6 @@ function httpCacheHandler(cache) {
return handleRequest;
}
-// extend prototype
-function inherits(target, source) {
- for (var k in source.prototype) {
- target.prototype[k] = source.prototype[k];
- }
-}
-
// Export the API
module.exports.httpCacheHandler = httpCacheHandler; // not documented
module.exports.MapCache = bindings.MapCache;

0 comments on commit ff81249

Please sign in to comment.