(function_name, description, error, substitutions)
| 3504 | expose(OptionalFeatureUnsupportedError, "OptionalFeatureUnsupportedError"); |
| 3505 | |
| 3506 | function make_message(function_name, description, error, substitutions) |
| 3507 | { |
| 3508 | for (var p in substitutions) { |
| 3509 | if (substitutions.hasOwnProperty(p)) { |
| 3510 | substitutions[p] = format_value(substitutions[p]); |
| 3511 | } |
| 3512 | } |
| 3513 | var node_form = substitute(["{text}", "${function_name}: ${description}" + error], |
| 3514 | merge({function_name:function_name, |
| 3515 | description:(description?description + " ":"")}, |
| 3516 | substitutions)); |
| 3517 | return node_form.slice(1).join(""); |
| 3518 | } |
| 3519 | |
| 3520 | function filter(array, callable, thisObj) { |
| 3521 | var rv = []; |
no test coverage detected