(f)
| 1892 | } |
| 1893 | var nestedOperation = 0; |
| 1894 | function operation(f) { |
| 1895 | return function() { |
| 1896 | if (!nestedOperation++) startOperation(); |
| 1897 | try {var result = f.apply(this, arguments);} |
| 1898 | finally {if (!--nestedOperation) endOperation();} |
| 1899 | return result; |
| 1900 | }; |
| 1901 | } |
| 1902 | |
| 1903 | function compoundChange(f) { |
| 1904 | history.startCompound(); |
no test coverage detected