Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unused `inherits` function from javascript shim

  • Loading branch information...
commit ff812490d1bd16bbaf8adca2d5b4975ddc6c6f59 1 parent 8556673
@homme homme authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 lib/mapcache.js
View
7 lib/mapcache.js
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.