requirejs.config({
    shim: {
        'call': {
            deps: ['form', 'jquery', 'campaign'],
            exports: 'call'
        },
        'campaign': {
            deps: ['form', 'jquery'],
            exports: 'campaign'
        },
        'form_mods': {
            deps: ['jquery', 'form'],
            exports: 'form_mods',
        },
        'form' : {
            deps : ['an', 'jquery' ],
            exports: 'form',
        },
        'heads' : {
          deps : ['form', 'jquery' ],
          exports: 'heads',
        }
        
    },
    paths: {
			an: 'https://actionnetwork.org/widgets/v2/form/stop-the-worst-of-the-worst?format=js&source=widget&style=full&clear_id=true',
    },
    baseUrl: '/democrats/app/'
});

//Should be able to magically turn a form into a caling form by requiring 'call'
require(['form', 'form_mods', 'heads', 'referrer_controls']);
requirejs.config({
    shim: {
        'call': {
            deps: ['form', 'jquery', 'campaign'],
            exports: 'call'
        },
        'campaign': {
            deps: ['form', 'jquery'],
            exports: 'campaign'
        },
        'form_mods': {
            deps: ['jquery', 'form'],
            exports: 'form_mods',
        },
        'form' : {
            deps : ['an', 'jquery' ],
            exports: 'form',
        },
        'heads' : {
          deps : ['form', 'jquery' ],
          exports: 'heads',
        }
        
    },
    paths: {
			an: 'https://actionnetwork.org/widgets/v2/form/stop-the-worst-of-the-worst?format=js&source=widget&style=full',
    },
    baseUrl: '/democrats/app/'
});

//Should be able to magically turn a form into a caling form by requiring 'call'
require(['form', 'form_mods', 'heads', 'referrer_controls']);
Remove clear_id for signup page
Remove clear_id for signup page

Still need it for /act so we get zip codes.
