| 1234567891011121314151617181920212223242526272829 | 
							- /*
 -  * @Author: Caven
 -  * @Date: 2020-04-09 20:02:37
 -  * @Last Modified by: Caven
 -  * @Last Modified time: 2020-05-12 00:09:49
 -  */
 - 
 - const install = function(DC) {
 -   if (!DC || !DC.init) {
 -     throw new Error('Plot: Missing DC Base')
 -   }
 - 
 -   if (!DC.ready) {
 -     throw new Error('Plot: Missing DC Core')
 -   }
 - 
 -   DC.init(() => {
 -     require('./Overlay.Loader')
 -   })
 - }
 - 
 - /* istanbul ignore if */
 - if (typeof window !== 'undefined' && window.DC) {
 -   install(window.DC)
 - }
 - 
 - module.exports = {
 -   install
 - }
 
 
  |