(id)
| 106 | |
| 107 | var match; |
| 108 | function matchResolution (id) { |
| 109 | var info = module.exports.defaults[id]; |
| 110 | if (opts.screen.width == info.width && opts.screen.height == info.height) { |
| 111 | match = copy(info); |
| 112 | } else if (opts.screen.width == info.height && opts.screen.height == info.width) { |
| 113 | match = copy(info); |
| 114 | match.rotation = 1; |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | var fallback = 'mobile'; |
| 119 | if (opts.screen) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…