(page)
| 62 | }, |
| 63 | }, |
| 64 | init(page) { |
| 65 | api.storage.addStyle( |
| 66 | require('!to-string-loader!css-loader!less-loader!./style.less').toString(), |
| 67 | ); |
| 68 | if (document.title === 'Verifica que no eres un bot | AnimeFLV') { |
| 69 | con.log('loading'); |
| 70 | page.cdn(); |
| 71 | return; |
| 72 | } |
| 73 | if (window.location.hostname.startsWith('m.')) { |
| 74 | con.error('Mobile not supported'); |
| 75 | return; |
| 76 | } |
| 77 | j.$(document).ready(function () { |
| 78 | page.handlePage(); |
| 79 | }); |
| 80 | }, |
| 81 | }; |
nothing calls this directly
no test coverage detected