Skip to content

Commit b94f4ca

Browse files
committed
v6.0.0
1 parent cc145a2 commit b94f4ca

File tree

10 files changed

+131
-127
lines changed

10 files changed

+131
-127
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Copyright (C) 2020 by Gleap GmbH. Permission is hereby granted to use this framework as is, modification are not allowed. All rights reserved.
22

3-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. FURTHER RESELLING OF THE SDK OR IT'S CODE IS ONLY GRANTED WITH A WRITTEN PERMISSION BY BUGBATTLE GMBH.
3+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. FURTHER RESELLING OF THE SDK OR IT'S CODE IS ONLY GRANTED WITH A WRITTEN PERMISSION BY Gleap GMBH.

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Bugbattle JavaScript SDK
1+
# Gleap JavaScript SDK
22

3-
![Bugbattle JavaScript SDK Intro](https://github.com/Gleap/JavaScript-SDK/blob/master/imgs/JavaScriptSDK.png)
3+
![Gleap JavaScript SDK Intro](https://github.com/Gleap/JavaScript-SDK/blob/master/imgs/JavaScriptSDK.png)
44

5-
The Bugbattle SDK for JavScript is the easiest way to integrate Bugbattle into your apps! Achieve better app quality & ratings with comprehensive in-app bug reporting. Gleap offers affordable In-App Bug Reporting for Apps, WebApps & Websites.
5+
The Gleap SDK for JavScript is the easiest way to integrate Gleap into your apps! Achieve better app quality & ratings with comprehensive in-app bug reporting. Gleap offers affordable In-App Bug Reporting for Apps, WebApps & Websites.
66

77
## 📖 Docs & Examples
88

@@ -29,14 +29,14 @@ Checkout our [documentation](https://docs.gleap.io/docs/javascript-sdk) for full
2929

3030
### Installation via nom
3131

32-
Install the **bugbattle** package via npm or yarn.
32+
Install the **Gleap** package via npm or yarn.
3333
```
34-
npm install bugbattle --save
34+
npm install Gleap --save
3535
```
3636

37-
Import the **bugbattle** package.
37+
Import the **Gleap** package.
3838
```
39-
import Gleap from 'bugbattle';
39+
import Gleap from 'Gleap';
4040
```
4141

4242
### Manual installation
@@ -49,7 +49,7 @@ Add the following lines to your website's / webapp's ```<head>```-tag:
4949

5050
### Initialize the SDK
5151

52-
Add the following code to to initialize the Gleap JavaScript SDK. Replace "YOUR-SDK-TOKEN-HERE" with your actual SDK token from the [Bugbattle dashboard](https://app.gleap.io).
52+
Add the following code to to initialize the Gleap JavaScript SDK. Replace "YOUR-SDK-TOKEN-HERE" with your actual SDK token from the [Gleap dashboard](https://app.gleap.io).
5353

5454
```
5555
Gleap.initialize("YOUR-SDK-TOKEN-HERE", Gleap.FEEDBACK_BUTTON);

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/appwidget.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<title>Bugbattle</title>
4+
<title>Gleap</title>
55
<meta charset="UTF-8" />
66
<meta
77
name="viewport"

demo/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<script src="/htmlimports.js"></script>
5-
<title>Bugbattle</title>
5+
<title>Gleap</title>
66
<meta charset="UTF-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1" />
88
<link rel="preconnect" href="https://fonts.gstatic.com" />
@@ -32,20 +32,20 @@ <h2>Gleap SDK for the Web</h2>
3232
</div>
3333
<div class="content">
3434
<span
35-
>The Bugbattle SDK for JavScript is the easiest way to integrate
36-
Bugbattle into your apps! Achieve better app quality & ratings with
35+
>The Gleap SDK for JavScript is the easiest way to integrate
36+
Gleap into your apps! Achieve better app quality & ratings with
3737
comprehensive in-app bug reporting. Gleap offers affordable In-App
3838
Bug Reporting for Apps, WebApps & Websites.</span
3939
>
4040
<br /><br />
4141
<span
42-
>No more wasting time trying to reproduce a bug. Bugbattle reports
42+
>No more wasting time trying to reproduce a bug. Gleap reports
4343
automatically contain a replay video, session data, logs and more. Even
4444
better: You can add custom data to your bug details.</span
4545
>
4646
<br /><br />
4747
<span
48-
>In less than a minute you can add our Bugbattle SDK to your App or
48+
>In less than a minute you can add our Gleap SDK to your App or
4949
WebApp. Install our SDK, build and run. A piece of cake.</span
5050
>
5151
</div>

demo/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
body, html {
1010
background-color: #fff;
1111
margin: 0;
12+
background-image: url(./pexels-christina-morillo-1181467.jpg);
1213
}
1314

1415
.header {

published/6.0.0/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/FeedbackForm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ export const buildForm = function (form, overrideLanguage) {
4848
formHTML += `<div class="bb-feedback-inputgroup bb-feedback-inputgroup--privacy-policy ${getShowAfterHTML(
4949
formItem.showAfter
5050
)}">
51-
<input id="bugbattlePrivacyPolicy" class="bb-feedback-${
51+
<input id="GleapPrivacyPolicy" class="bb-feedback-${
5252
formItem.name
5353
}" type="checkbox" required />
54-
<label for="bugbattlePrivacyPolicy" class="bb-feedback-inputgroup--privacy-policy-label">${translateText(
54+
<label for="GleapPrivacyPolicy" class="bb-feedback-inputgroup--privacy-policy-label">${translateText(
5555
"I read and accept the",
5656
overrideLanguage
5757
)}<a id="bb-privacy-policy-link" href="${

src/Gleap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class Gleap {
124124
const instance = this.getInstance();
125125

126126
if (instance.initialized) {
127-
console.warn("Bugbattle already initialized.");
127+
console.warn("Gleap already initialized.");
128128
return;
129129
}
130130
instance.initialized = true;
@@ -355,7 +355,7 @@ class Gleap {
355355
}
356356

357357
/**
358-
* Hides the powered by bugbattle logo.
358+
* Hides the powered by Gleap logo.
359359
* @param {boolean} hide
360360
*/
361361
static enablePoweredBy(enabled) {

0 commit comments

Comments
 (0)