1234567891011121314151617181920212223242526272829 |
- (function() {
- var Declaration, Filter,
- __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
- __hasProp = {}.hasOwnProperty;
- Declaration = require('../declaration');
- Filter = (function(_super) {
- __extends(Filter, _super);
- function Filter() {
- return Filter.__super__.constructor.apply(this, arguments);
- }
- Filter.names = ['filter'];
- Filter.prototype.check = function(decl) {
- var v;
- v = decl.value;
- return v.toLowerCase().indexOf('alpha(') === -1 && v.indexOf('DXImageTransform.Microsoft') === -1 && v.indexOf('data:image/svg+xml') === -1;
- };
- return Filter;
- })(Declaration);
- module.exports = Filter;
- }).call(this);
|