Duvet 1.1.12Something soft and comfortable to wrap your Javascript up in!
Duvet
is a BedSheet library that delivers Javascript to the browser.
Duvet
provides a wrapper around RequireJS and packages up Fantom generated Javascript code. It gives clean dependency management for Javascript libraries and a means to execute Fantom code in the web browser.
Why Duvet?
Embracing RequireJs and AMD modules is like having an IoC for Javascript; and using it gives you a warm, fuzzy feeling all over!
Install
To install Duvet with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install Duvet with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/
directory.
Use
To use Duvet in a Fantom project, add a dependency to the project's build.fan
:
depends = ["sys 1.0", ..., "afDuvet 1.1.12 - 1.1"]
Documentation
Information
Meta information on the Duvet pod:
- Published by
- Steve Eynon
- Organisation
- Fantom-Factory Ltd
- Pod file size
- 145.11 kB
- Licence
- ISC
- Built on
- 12th Aug 2020
- Source code
- via Git at https://github.com/Fantom-Factory/afDuvet
- Depends on
- afBedSheet, afConcurrent, afIoc, afIocConfig, sys, util, web
- Referenced by
- afBedNap, afEggbox, afFindEmma, afGoogleAnalytics, afRecaptcha
- Javascript Compatible
- No
Dependency Graph
Release History
There have been 22 releases of Duvet: