@@ -54,7 +54,7 @@ const recsys = {
5454 * @param parentClaimId: string,
5555 * @param newClaimId: string,
5656 */
57- onClickedRecommended : function ( parentClaimId , newClaimId ) {
57+ onClickedRecommended : function ( parentClaimId , newClaimId ) {
5858 const parentEntry = recsys . entries [ parentClaimId ] ? recsys . entries [ parentClaimId ] : null ;
5959 const parentUuid = parentEntry [ 'uuid' ] ;
6060 const parentRecommendedClaims = parentEntry [ 'recClaimIds' ] || [ ] ;
@@ -72,7 +72,7 @@ const recsys = {
7272 * Page was loaded. Get or Create entry and populate it with default data, plus recommended content, recsysId, etc.
7373 * Called from recommendedContent component
7474 */
75- onRecsLoaded : function ( claimId , uris ) {
75+ onRecsLoaded : function ( claimId , uris ) {
7676 if ( window . store ) {
7777 const state = window . store . getState ( ) ;
7878 if ( ! recsys . entries [ claimId ] ) {
@@ -91,7 +91,7 @@ const recsys = {
9191 * @param : claimId: string
9292 * @param : parentUuid: string (optional)
9393 */
94- createRecsysEntry : function ( claimId , parentUuid ) {
94+ createRecsysEntry : function ( claimId , parentUuid ) {
9595 if ( window . store && claimId ) {
9696 const state = window . store . getState ( ) ;
9797 const user = selectUser ( state ) ;
@@ -128,7 +128,7 @@ const recsys = {
128128 * @param claimId
129129 * @param isTentative
130130 */
131- sendRecsysEntry : function ( claimId , isTentative ) {
131+ sendRecsysEntry : function ( claimId , isTentative ) {
132132 const shareTelemetry =
133133 IS_WEB || ( window && window . store && selectDaemonSettings ( window . store . getState ( ) ) . share_usage_data ) ;
134134
@@ -151,7 +151,7 @@ const recsys = {
151151 * @param claimId
152152 * @param event
153153 */
154- onRecsysPlayerEvent : function ( claimId , event , isEmbedded ) {
154+ onRecsysPlayerEvent : function ( claimId , event , isEmbedded ) {
155155 if ( ! recsys . entries [ claimId ] ) {
156156 recsys . createRecsysEntry ( claimId ) ;
157157 // do something to show it's floating or autoplay
@@ -162,7 +162,7 @@ const recsys = {
162162 recsys . entries [ claimId ] . events . push ( event ) ;
163163 recsys . log ( 'onRecsysPlayerEvent' , claimId ) ;
164164 } ,
165- log : function ( callName , claimId ) {
165+ log : function ( callName , claimId ) {
166166 if ( recsys . debug ) {
167167 console . log ( `Call: ***${ callName } ***, ClaimId: ${ claimId } , Recsys Entries` , Object . assign ( { } , recsys . entries ) ) ;
168168 }
@@ -172,7 +172,7 @@ const recsys = {
172172 * Player closed. Check to see if primaryUri = playingUri
173173 * if so, send the Entry.
174174 */
175- onPlayerDispose : function ( claimId , isEmbedded ) {
175+ onPlayerDispose : function ( claimId , isEmbedded ) {
176176 if ( window . store ) {
177177 const state = window . store . getState ( ) ;
178178 const playingUri = selectPlayingUri ( state ) ;
@@ -221,7 +221,7 @@ const recsys = {
221221 * Navigate event
222222 * Send all claimIds that aren't currently playing.
223223 */
224- onNavigate : function ( ) {
224+ onNavigate : function ( ) {
225225 if ( window . store ) {
226226 const state = window . store . getState ( ) ;
227227 const playingUri = selectPlayingUri ( state ) ;
0 commit comments