|
| 1 | +<link rel="shortcut icon" type="image/png" href="/favicon.png" /> |
| 2 | +<div id="cookie-banner"></div> |
| 3 | +<footer class="storybook-footer"> |
| 4 | + Microsoft Graph Toolkit Playground was founded by Microsoft as a community guided, open source project. |
| 5 | + <a href="https://privacy.microsoft.com/en-us/privacystatement">Privacy & cookies</a> |
| 6 | + <a href="https://www.microsoft.com/en-us/legal/intellectualproperty/copyright/default">Term of use</a> |
| 7 | +</footer> |
| 8 | + |
1 | 9 | <script src="https://consentdeliveryfd.azurefd.net/mscc/lib/v2/wcp-consent.js"></script> |
2 | 10 | <script src="https://az725175.vo.msecnd.net/scripts/jsll-4.js" type="text/javascript"></script> |
3 | 11 | <script type="text/javascript"> |
|
6 | 14 | 'cookie-banner', |
7 | 15 | function(err, _siteConsent) { |
8 | 16 | if (err != undefined) { |
9 | | - return error; |
| 17 | + return err; |
10 | 18 | } else { |
11 | 19 | siteConsent = _siteConsent; //siteConsent is used to get the current consent |
12 | 20 | } |
|
15 | 23 | ); |
16 | 24 |
|
17 | 25 | function onConsentChanged(consentCategories) { |
| 26 | + console.log('consentCatogories', consentCategories); |
18 | 27 | if (siteConsent.getConsentFor(WcpConsent.consentCategories.Analytics)) { |
19 | 28 | // add analytics |
20 | 29 | var config = { |
|
29 | 38 | } |
30 | 39 | } |
31 | 40 | </script> |
32 | | -<link rel="shortcut icon" type="image/png" href="/favicon.png" /> |
33 | | -<div id="cookie-banner"></div> |
34 | | -<footer class="storybook-footer"> |
35 | | - Microsoft Graph Toolkit Playground was founded by Microsoft as a community guided, open source project. |
36 | | - <a href="https://privacy.microsoft.com/en-us/privacystatement">Privacy & cookies</a> |
37 | | - <a href="https://www.microsoft.com/en-us/legal/intellectualproperty/copyright/default">Term of use</a> |
38 | | -</footer> |
| 41 | + |
39 | 42 | <style> |
40 | 43 | #root > div:first-of-type { |
41 | 44 | height: calc(100% - 40px); |
|
0 commit comments