Permalink
Browse files

[minor] Remove bloated code

  • Loading branch information...
1 parent d6b549d commit 6ca07dda0221f4b4e4ecbf537c49fe3286be4fb4 @3rd-Eden committed Jan 8, 2013
Showing with 0 additions and 12 deletions.
  1. +0 −12 features/index.js
View
@@ -3,20 +3,9 @@
/**
* 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);
};

0 comments on commit 6ca07dd

Please sign in to comment.