Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[minor] Remove bloated code

  • Loading branch information...
commit 6ca07dda0221f4b4e4ecbf537c49fe3286be4fb4 1 parent d6b549d
@3rd-Eden authored
Showing with 0 additions and 12 deletions.
  1. +0 −12 features/index.js
View
12 features/index.js
@@ -3,21 +3,10 @@
/**
* Plugin dependencies
*/
-
var Agent = require('../').Agent
, semver = require('semver');
/**
- * Fetches the features of the browser from the browserscope knowledge base.
- *
- * @api public
- */
-
-Agent.prototype.__defineGetter__('features', function () {
-
-});
-
-/**
* Checks if the user agent's version can be satisfied agents the give
* ranged argument. This uses the semver libraries range construction.
*
@@ -25,7 +14,6 @@ Agent.prototype.__defineGetter__('features', function () {
* @returns {Boolean}
* @api public
*/
-
Agent.prototype.satisfies = function satisfies (range) {
return semver.satisfies(this.major + '.' + this.minor + '.' + this.patch, range);
};
Please sign in to comment.
Something went wrong with that request. Please try again.