Skip to content

Commit 5624800

Browse files
author
Alexis Oyama
committed
Merge branch 'release/1.2.4'
2 parents fb0e5d9 + fa1c3d7 commit 5624800

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

dist/leanplum.js

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/leanplum.min.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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"name": "leanplum-sdk",
4242
"description": "This is the JavaScript SDK for Leanplum, allowing developers to access and integrate the functionality of Leanplum with applications and devices through JavaScript and HTML5. Leanplum is an application development platform that provides mobile A/B testing, messaging functionality, personalization, and more features for applications. ## Installation Add leanplum.js to your project: ```javascript <script type=\"text/javascript\" src=\"leanplum.js\"></script> ``` ## Usage Initialize Leanplum.",
43-
"version": "1.2.3",
43+
"version": "1.2.4",
4444
"main": "dist/leanplum.min.js",
4545
"directories": {
4646
"test": "test"

src/Constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = {
3535
REGISTER_DEVICE: 'registerDevice',
3636
},
3737

38-
SDK_VERSION: '1.2.3',
38+
SDK_VERSION: '1.2.4',
3939

4040
CLIENT: 'js',
4141

src/Leanplum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ class Leanplum {
485485
}
486486
);
487487
} else if (event == 'getVariables') {
488-
Leanplum.sendVariables();
488+
Leanplum._sendVariables();
489489
client.send('getContentResponse', {
490490
'updated': true,
491491
});

src/PushManager.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ class PushManager {
4343
if (navigator && navigator.serviceWorker &&
4444
'serviceWorker' in navigator && 'PushManager' in window) {
4545
isSupported = true;
46-
self.register();
4746
}
4847
}
4948

0 commit comments

Comments
 (0)