* Validate a cache option.
(value)
| 583 | * Validate a <code>cache</code> option. |
| 584 | */ |
| 585 | function validateCache(value) { |
| 586 | if (isBoolean(value)) { |
| 587 | return value; |
| 588 | } |
| 589 | if (value != null) { |
| 590 | console.warn("VelocityJS: Trying to set 'cache' to an invalid value:", value); |
| 591 | } |
| 592 | } |
| 593 | /** |
| 594 | * Validate a <code>begin</code> option. |
| 595 | */ |
no test coverage detected
searching dependent graphs…