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
12 features/index.js
@@ -3,29 +3,17 @@
/**
* 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.
*
* @param {String} ranged The range the version has to satisfie
* @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.