pixeldust/response.js — comment on commit f3cd922b2f403b8d219feac08afb630779f37f9e
File:  line 0
By ryanve:

Right on :) BTW you can do

```javascript

Response.create({
prop: "device-pixel-ratio" // or "width" "device-width" "height" "device-height"
, prefix: "min-dpr-"
, breakpoints: [1, 1.5, 2]
});
```
to setup `data-min-dpr-1`, `data-min-dpr-1.5`, `data-min-dpr-2` // also see the bottom of the [readme](https://github.com/ryanve/response.js/blob/master/response.js)

I think another way to do what you did would be to just define a new prop and a corresponding method for testing that prop. In the part where the `propTests` are defined, you could put something like:

```javascript

propTests['my-adjusted-width'] = function(min) { /* something that returns bool */ };
```

and then `"my-adjusted-width"` would be a valid value for the prop param.