# qi-blocks/1.0.1/assets/dist/process-script.js

Qi Blocks, version 1.0.1. 1 lines.

- Page: https://pluginprobe.com/plugins/qi-blocks/1.0.1/code/assets/dist/process-script.js
- Raw: https://pluginprobe.com/plugins/qi-blocks/1.0.1/raw/assets/dist/process-script.js
- Modified: 2022-09-19T08:36:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/qi-blocks/1.0.1/code/assets/dist/process-script.js#L10-L20`.

```javascript
!function(){"use strict";document.addEventListener("DOMContentLoaded",(function(){e.init()}));let e={init:function(){this.holder=document.querySelectorAll(".qi-block-process"),this.holder.length&&[...this.holder].map((t=>{e.initItem(t)}))},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e)),e},initItem:function(t,i){if(!(t=e.getRealCurrentItem(t)))return;const o="object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor;"reinit"===i&&t.classList.remove("qodef--appeared"),o.qodefIsInViewport.check(t,(function(){t.classList.add("qodef--appeared")}))}}}();
```
