Control that advertises the DoneJS survey across CanJS.com, StealJS.com, etc.
With StealJS, you can import this module directly in a template that is autorendered:
import plugin from 'donejs-survey-ad';
Use require
to load donejs-survey-ad
and everything else
needed to create a template that uses donejs-survey-ad
:
var plugin = require("donejs-survey-ad");
Load the global
version of the plugin:
<script src='./node_modules/donejs-survey-ad/dist/global/donejs-survey-ad.js'></script>