Alexandr

Results 17 comments of Alexandr

I think it was my mistake in creating api. I will remade it in new version. ср, 13 дек. 2017 г. в 20:25, amadoalmex : > Is this something that...

Can be painless with [yarn resolution](https://yarnpkg.com/lang/en/docs/selective-version-resolutions/).

> Where would you call it in a real app? Hi, of course. In my app I can have a lot of pixi instances at one page, they are destroying...

Thank you for pull request! I check this soon.

It was tested? [This part](https://github.com/AStaroverov/vue-toast/pull/21/files#diff-fcd28192d5a6efb9426617002959a45a) looks like incorrect. And i dont understand than ``ToastContent`` better ``v-html``. If u want use custom toasts it incorrect implementation.

for example ``` const body = 'function plus(n,u){return n+u};function minus(n,u){return n-u};var a=plus(value,10);return minus(a,5);' const s = sandbox.compile(body, true); console.log(s({value: 1}).run()); console.log(s({value: 2}).run()); ```

I found that after first run `context.tree` will be modified, that broke second call. This workaround help me ``` const parsed = Sandbox.parse(body); const context = sandbox.createContext(sandbox.context, parsed); const tree...