File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 11/*
22 * breinify-api
33 * v1.0.0-snapshot
4- * 2016-06-14
4+ * 2016-06-21
55 **/
66/*
77 * We inject a dependencyScope variable, which will be used
@@ -12545,6 +12545,11 @@ dependencyScope.jQuery = $;;
1254512545 instance . add ( 'userAgent' , navigator . userAgent ) ;
1254612546 }
1254712547
12548+ // set the referrer to a default value if there isn't one yet
12549+ if ( instance . read ( 'referrer' ) === null ) {
12550+ instance . add ( 'referrer' , document . referrer ) ;
12551+ }
12552+
1254812553 // try to set the location if there isn't one yet
1254912554 if ( instance . read ( 'location' ) === null && $ . isFunction ( onReady ) ) {
1255012555 instance . addGeoLocation ( onReady ) ;
@@ -12646,7 +12651,7 @@ dependencyScope.jQuery = $;;
1264612651 this . _user [ attribute ] = value ;
1264712652 } ,
1264812653
12649- reset : function ( attribute ) {
12654+ reset : function ( attribute ) {
1265012655 if ( $ . isPlainObject ( this . _user ) ) {
1265112656 delete this . _user [ attribute ] ;
1265212657 }
You can’t perform that action at this time.
0 commit comments