(val)
| 4235 | |
| 4236 | setSize: methodOp(function(width, height) { |
| 4237 | function interpret(val) { |
| 4238 | return typeof val == "number" || /^\d+$/.test(String(val)) ? val + "px" : val; |
| 4239 | } |
| 4240 | if (width != null) this.display.wrapper.style.width = interpret(width); |
| 4241 | if (height != null) this.display.wrapper.style.height = interpret(height); |
| 4242 | if (this.options.lineWrapping) clearLineMeasurementCache(this); |
no outgoing calls
no test coverage detected
searching dependent graphs…