12345678910111213141516171819202122232425262728293031 |
- (function() {
- var CrispEdges, Value,
- __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;
- Value = require('../value');
- CrispEdges = (function(_super) {
- __extends(CrispEdges, _super);
- function CrispEdges() {
- return CrispEdges.__super__.constructor.apply(this, arguments);
- }
- CrispEdges.names = ['crisp-edges'];
- CrispEdges.prototype.replace = function(string, prefix) {
- if (prefix === '-webkit-') {
- return string.replace(this.regexp(), '$1-webkit-optimize-contrast');
- } else {
- return CrispEdges.__super__.replace.apply(this, arguments);
- }
- };
- return CrispEdges;
- })(Value);
- module.exports = CrispEdges;
- }).call(this);
|