(ext)
| 31724 | } |
| 31725 | }; |
| 31726 | function use(ext) { |
| 31727 | if (isArray(ext)) { |
| 31728 | // use([ChartLine, ChartBar]); |
| 31729 | each(ext, function (singleExt) { |
| 31730 | use(singleExt); |
| 31731 | }); |
| 31732 | return; |
| 31733 | } |
| 31734 | |
| 31735 | if (indexOf(extensions, ext) >= 0) { |
| 31736 | return; |
| 31737 | } |
| 31738 | |
| 31739 | extensions.push(ext); |
| 31740 | |
| 31741 | if (isFunction(ext)) { |
| 31742 | ext = { |
| 31743 | install: ext |
| 31744 | }; |
| 31745 | } |
| 31746 | |
| 31747 | ext.install(extensionRegisters); |
| 31748 | } |
| 31749 | |
| 31750 | /* |
| 31751 | * Licensed to the Apache Software Foundation (ASF) under one |
no test coverage detected