File tree Expand file tree Collapse file tree 1 file changed +8
-27
lines changed Expand file tree Collapse file tree 1 file changed +8
-27
lines changed Original file line number Diff line number Diff line change 11< link rel ="shortcut icon " type ="image/png " href ="/favicon.png " />
2- < div id ="cookie-banner "> </ div >
32< footer class ="storybook-footer ">
43 Microsoft Graph Toolkit Playground was founded by Microsoft as a community guided, open source project.
54 < a href ="https://privacy.microsoft.com/en-us/privacystatement "> Privacy & cookies</ a >
98< script src ="https://consentdeliveryfd.azurefd.net/mscc/lib/v2/wcp-consent.js "> </ script >
109< script src ="https://az725175.vo.msecnd.net/scripts/jsll-4.js " type ="text/javascript "> </ script >
1110< script type ="text/javascript ">
12- WcpConsent . init (
13- 'en-US' ,
14- 'cookie-banner' ,
15- function ( err , _siteConsent ) {
16- if ( err != undefined ) {
17- return err ;
18- } else {
19- siteConsent = _siteConsent ; //siteConsent is used to get the current consent
20- }
11+ var config = {
12+ autoCapture : {
13+ lineage : true
2114 } ,
22- onConsentChanged
23- ) ;
24-
25- function onConsentChanged ( consentCategories ) {
26- console . log ( 'consentCatogories' , consentCategories ) ;
27- if ( siteConsent . getConsentFor ( WcpConsent . consentCategories . Analytics ) ) {
28- // add analytics
29- var config = {
30- autoCapture : {
31- lineage : true
32- } ,
33- coreData : {
34- appId : 'JS:GraphToolkit'
35- }
36- } ;
37- awa . init ( config ) ;
15+ coreData : {
16+ appId : 'JS:GraphToolkit'
3817 }
39- }
18+ } ;
19+ awa . init ( config ) ;
4020</ script >
4121
4222< style >
23+ /* this keeps the storybook body area above footer */
4324 # root > div : first-of-type {
4425 height : calc (100% - 40px );
4526 }
You can’t perform that action at this time.
0 commit comments