From 57bf76b1bed99b7da9d9245f6c6039e9dee6997e Mon Sep 17 00:00:00 2001 From: Edli Merkaj Date: Thu, 28 Jan 2021 11:22:04 +0100 Subject: [PATCH 1/2] chore: add ReactiveCof 2018 video --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index a216c347..b01e9085 100644 --- a/index.js +++ b/index.js @@ -43,6 +43,9 @@ //. //. Sanctuary is designed to work in Node.js and in ES5-compatible browsers. //. +//. Please refer to this video: [Sanctuary, Programming Safely in an Uncertain World](https://www.youtube.com/watch?v=a2astdDbOjk) +//. for a brief introduction of Sanctuary's functionality and how to use it. +//. //. ## Folktale //. //. [Folktale][], like Sanctuary, is a standard library for functional From 82708b3d05c7ed2abf6129db1fa15dc579505e46 Mon Sep 17 00:00:00 2001 From: Edli Merkaj Date: Thu, 28 Jan 2021 11:45:29 +0100 Subject: [PATCH 2/2] chore: add information regarding rollup and Sanctuary --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index b01e9085..ceef77a2 100644 --- a/index.js +++ b/index.js @@ -337,6 +337,11 @@ //. const $ = window.sanctuaryDef; //. // ... //. ``` +//. If you are using rollup in your project, where you have integrated Sanctuary, you might +//. get errors. Please import builtins and globals from rollup-plugin-node-builtins and +//. rollup-plugin-node-globals respectively, in the rollup config file. These are needed to add +//. the utils folder, which is referenced in the sanctuary code. +//. //. //. ## API