Duvet 1.1.8Something 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.8 - 1.1"]
Documentation
Information
Meta information on the Duvet pod:
- Published by
- Steve Eynon
- Organisation
- Alien-Factory
- Pod file size
- 145.08 kB
- Licence
- ISC Licence
- Built on
- 1st Feb 2018
- Source code
- via Mercurial at https://bitbucket.org/AlienFactory/afduvet
- Depends on
- afBedSheet, afConcurrent, afIoc, afIocConfig, sys, util, web
- Referenced by
- afBedNap, afFindEmma, afGoogleAnalytics, afRecaptcha
- Javascript Compatible
- No
Dependency Graph
Release History
There have been 22 releases of Duvet: