File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ The package is a wrapper around [Cookie Consent] by [Orest Bida].
1212Load the script and initialize the plugin right before ending ` </body> ` tag:
1313
1414``` html
15- <script defer src =" https://cdn.jsdelivr.net/npm/@lmc-eu/cookie-consent-manager@v0 .3.0/init.js" ></script >
15+ <script defer src =" https://cdn.jsdelivr.net/npm/@lmc-eu/cookie-consent-manager@0 .3.0/init.js" ></script >
1616<script >
1717window .addEventListener (' load' , function () {
1818 initLmcCookieConsentManager ();
@@ -29,7 +29,7 @@ This will load the plugin from CDN and initialize the plugin with default settin
2929You can load the plugin from a CDN, as in the basic example above.
3030
3131``` html
32- <script defer src =" https://cdn.jsdelivr.net/npm/@lmc-eu/cookie-consent-manager@v0 .3.0/init.js" ></script >
32+ <script defer src =" https://cdn.jsdelivr.net/npm/@lmc-eu/cookie-consent-manager@0 .3.0/init.js" ></script >
3333```
3434
3535Alternatively, you can also download the latest version from the [ Releases page] ( https://github.com/lmc-eu/cookie-consent-manager/releases ) .
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ const replace = require('replace-in-file');
22const packageJson = require ( '../package.json' ) ;
33const options = {
44 files : 'README.md' ,
5- from : / c o o k i e - c o n s e n t - m a n a g e r @ v ( [ 0 - 9 ] \. [ 0 - 9 ] \. [ 0 - 9 ] ) / gm,
6- to : `cookie-consent-manager@v ${ packageJson . version } ` ,
5+ from : / c o o k i e - c o n s e n t - m a n a g e r @ ( [ 0 - 9 ] \. [ 0 - 9 ] \. [ 0 - 9 ] ) / gm,
6+ to : `cookie-consent-manager@${ packageJson . version } ` ,
77} ;
88
99replace ( options )
You can’t perform that action at this time.
0 commit comments