v0.3.3
From changelog
- Refactored nbJs (#148)
- Breaking: All
nbJsFromCode
blocks are now inserted into the same file (Compared to previously when each block was compiled as its own file).
So this will break any reusable components as you will getredefinition of variable
errors. The solution is to usenbJsFromCodeInBlock
which puts the code inside ablock
. Imports can't be done in there though so you must do them in a separatenbJsFromCode
ornbJsFromCodeGlobal
before. - See https://pietroppeter.github.io/nimib/interactivity.html for a more detailed guide on how to use the new API.
- Breaking: All
- Added
nimibCode
template. One problem with usingnbCode
is that you can't show nimib code using it because it nests blocks and wrecks havoc.
SonimibCode
allows you to show nimib code but at the cost of not capturing output of the code.
What's Changed
- add CONTRIBUTING.md fix #138 by @pietroppeter in #140
- Refactor nbJs by @HugoGranstrom in #148
- add nimconf to readme and index by @HugoGranstrom in #152
Full Changelog: v0.3.2...v0.3.3