Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Facetcleanup - removed some more dead code #19

Open
wants to merge 2 commits into from

1 participant

This page is out of date. Refresh to see the latest.
Showing with 0 additions and 7 deletions.
  1. +0 −7 facet.js
View
7 facet.js
@@ -666,9 +666,6 @@ exports.Restrictive = function(appliesTo, schema){
}
return null;
};
- if(appliesToPrototype.get){
- schemaPrototype.get = DELEGATE;
- }
}
var facet = Facet(appliesTo, schema);
if(!schema.query){
@@ -689,7 +686,6 @@ exports.Restrictive = function(appliesTo, schema){
return facet;
};
-var DELEGATE = function(){};
exports.Permissive = function(appliesTo, schema){
schema = schema || {quality:0.5};
var appliesToPrototype = appliesTo.prototype;
@@ -707,9 +703,6 @@ exports.Permissive = function(appliesTo, schema){
}
return null;
};
- if(appliesToPrototype.get){
- schemaPrototype.get = DELEGATE;
- }
}
var facet = Facet(appliesTo, schema, true);
for(var i in appliesTo){
Something went wrong with that request. Please try again.