Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Move to Typescript #502

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var klaroConfig = {

// You can customize the ID of the DIV element that Klaro will create
// when starting up. If undefined, Klaro will use 'klaro'.
elementID: 'klaro',
elementID: 'klaroRoot',

// You can override CSS style variables here. For IE11, Klaro will
// dynamically inject the variables into the CSS. If you still consider
Expand Down
2 changes: 1 addition & 1 deletion dist/configs/i18n.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var klaroI18nConfig = {
version: 2,
cookieName: 'klaro-i18n',
elementID: 'klaro',
elementID: 'klaroRoot',
lang: 'en',
default: true,
noNotice: true,
Expand Down
2 changes: 1 addition & 1 deletion dist/ide.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
console.debug("External tracker loaded!")
}
function showKlaro(config, modal){
var element = document.getElementById("klaro").children[0];
var element = document.getElementById("klaroRoot").children[0];
if (element !== undefined){
if (element.classList !== undefined)
element.classList.add("wiggle")
Expand Down Expand Up @@ -116,7 +116,7 @@
<body>
<!-- by default, klaro will be appended in the klaro div, or will create one at the end of the body if none exists.
it's recommended to have klaro at the top of your content so that screen reader users can be notified early -->
<div id="klaro"></div>
<div id="klaroRoot"></div>
<img data-hide=true data-title="We're watching you (for your own safety)" class="camera"
data-src="assets/Surveillance-camera-small.png" data-name="camera" />
<section class="hero is-info is-medium is-bold">
Expand Down
2 changes: 1 addition & 1 deletion dist/klaro-no-translations.js

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions dist/klaro-no-translations.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
2 changes: 1 addition & 1 deletion dist/klaro.js

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions dist/klaro.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
Loading