Commit 8f5b4e8 1 parent d1f65f2 commit 8f5b4e8 Copy full SHA for 8f5b4e8
File tree 5 files changed +57
-54
lines changed
5 files changed +57
-54
lines changed Original file line number Diff line number Diff line change
1
+ ## 22.02.1
2
+ - Fixed a bug where heatmap files were not loading
3
+
1
4
## 22.02.0
2
5
- !! Major breaking change !! Device ID provided during the init will be ignored if a device ID was provided previously
3
6
- Added a new init time flag which erases the previously stored device ID. This allows to set new device ID during init
Original file line number Diff line number Diff line change 30
30
31
31
Countly web SDK is available on CDNJS. Use either
32
32
33
- [ https://cdnjs.cloudflare.com/ajax/libs/countly-sdk-web/22.02.0 /countly.min.js ] ( https://cdnjs.cloudflare.com/ajax/libs/countly-sdk-web/22.02.0 /countly.min.js )
33
+ [ https://cdnjs.cloudflare.com/ajax/libs/countly-sdk-web/22.02.1 /countly.min.js ] ( https://cdnjs.cloudflare.com/ajax/libs/countly-sdk-web/22.02.1 /countly.min.js )
34
34
35
35
or
36
36
Original file line number Diff line number Diff line change 157
157
*/
158
158
Countly . onload = Countly . onload || [ ] ;
159
159
160
- var SDK_VERSION = "22.02.0 " ;
160
+ var SDK_VERSION = "22.02.1 " ;
161
161
var SDK_NAME = "javascript_native_web" ;
162
162
163
163
var urlParseRE = / ^ ( ( ( ( [ ^ : \/ # \? ] + : ) ? (?: ( \/ \/ ) ( (?: ( ( [ ^ : @ \/ # \? ] + ) (?: \: ( [ ^ : @ \/ # \? ] + ) ) ? ) @ ) ? ( ( [ ^ : \/ # \? \] \[ ] + | \[ [ ^ \/ \] @ # ? ] + \] ) (?: \: ( [ 0 - 9 ] + ) ) ? ) ) ? ) ? ) ? ( ( \/ ? (?: [ ^ \/ \? # ] + \/ + ) * ) ( [ ^ \? # ] * ) ) ) ? ( \? [ ^ # ] + ) ? ) ( # .* ) ? / ;
4258
4258
var loaded ;
4259
4259
fileRef . setAttribute ( attr , type ) ;
4260
4260
fileRef . setAttribute ( src , data ) ;
4261
+ var callbackFunction = function ( ) {
4262
+ if ( ! loaded ) {
4263
+ callback ( ) ;
4264
+ }
4265
+ loaded = true ;
4266
+ } ;
4261
4267
if ( callback ) {
4262
- fileRef . onreadystatechange = function ( ) {
4263
- fileRef . onload = function ( ) {
4264
- if ( ! loaded ) {
4265
- callback ( ) ;
4266
- }
4267
- loaded = true ;
4268
- } ;
4269
- } ;
4268
+ fileRef . onreadystatechange = callbackFunction ( ) ;
4269
+ fileRef . onload = callbackFunction ( ) ;
4270
4270
}
4271
4271
document . getElementsByTagName ( "head" ) [ 0 ] . appendChild ( fileRef ) ;
4272
4272
}
You can’t perform that action at this time.
0 commit comments