* Validate a queue option.
(value, noError)
| 743 | * Validate a <code>queue</code> option. |
| 744 | */ |
| 745 | function validateQueue(value, noError) { |
| 746 | if (value === false || isString(value)) { |
| 747 | return value; |
| 748 | } |
| 749 | if (value != null && !noError) { |
| 750 | console.warn("VelocityJS: Trying to set 'queue' to an invalid value:", value); |
| 751 | } |
| 752 | } |
| 753 | /** |
| 754 | * Validate a <code>repeat</code> option. |
| 755 | */ |
no test coverage detected
searching dependent graphs…