Code Monkey home page Code Monkey logo

hub's People

Contributors

jimdebeer avatar nfrade avatar rase- avatar youzi avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

sporttotal-tv

hub's Issues

problem with deepNotEqual in client/util.js

Hi,
I was facing some problems with hub subscriptions not getting new values after I add fields to an object in the data. I have been able to track the issue back to deepNotEqual implementation in hub/client/util.js

for a = {
cookieOk: 'Cookie Ok1',
class: 'Class',
payPerViewRemainingDays: 'Time Remaining: {{value}} Days',
sponsorThis: 'Sponsor this',
support: 'Support',
changedYourVote: 'Changed vote',
association: 'Association',
sharemessage: "For all the fans who can't be there - check it out live at sporttotal",
autoGeneratedForTesting6mf6r0k: '7g9sf9121311',
learnMore: 'Learn more',
player: 'Player',
blocked: 'Sorry this content is not available in your region',
removedFavourite: 'Removed from favourites',
season: 'Season',
club: 'Club',
liveMatches: 'Live matches',
payPerViewBuyButton: 'Buy for',
searchPlaceholder: 'What are you looking for?',
thanksForVoting: 'Thanks for voting',
competition: 'Competition',
payPerViewRemainingMinutes: 'Time Remaining: {{value}} Minutes',
video: 'Video',
password: 'Password',
sport: 'Sport',
location: 'Location',
embed: 'Embedded',
men: 'Men',
share: 'Share',
payPerViewWatchOnWeb: 'Watch this on sporttotal.tv!',
live: 'Live',
cannotVoteTwiceForTheSameItem: "You can't vote twice",
visitWebsite: 'Visit website',
team: 'Team',
sponsorThisClub: 'Advertise for this club',
region: 'Region',
event: 'Event',
payPerViewRemainingHours: 'Time Remaining: {{value}} Hours',
myTeams: 'My Teams',
yourVote: 'Your vote',
auto_test_key: '08gy91',
women: 'Women',
updateKey: 'hqd5ic',
autoTestKey: 'asdfaa',
transactionFailedMessage: 'Sorry, your transaction could not be processed.',
faq: 'FAQ',
partner: 'Partner',
match: 'Match',
contact: 'Contact',
payPerViewBuyAgainButton: 'Buy Again for',
sponsorship: 'Ad Portal',
category: 'Category',
ad: 'Ad',
exploreAll: 'Explore',
legalDocuments: 'Terms of use',
imprint: 'Imprint',
autoGeneratedForTestings3tx0m: 'r8tyyp',
addYourFavourites: 'Add your favourites by pressing the + button on any page',
sponsorThisMatch: 'Sponsor this match',
show: 'Show',
privacyPolicy: 'Privacy policy',
reprocessableTransactionFailedMessage: 'Sorry, your transaction could not be processed. Please try again.',
myFavourites: 'My Favourites',
payPerView: 'Pay Per View',
partners: 'Partners',
camera: 'Camera',
noFavourites: 'No teams added yet',
cookieSettings: 'Cookie Settings',
addedFavourite: 'Added to favourites',
cookieMessage: 'This website uses cookies',
information: 'Information',
article: 'Article',
__created_for_automated_testing_app_hub: 'trsy4j'
}

and, b = {
cookieOk: 'Cookie Ok1',
class: 'Class',
payPerViewRemainingDays: 'Time Remaining: {{value}} Days',
sponsorThis: 'Sponsor this',
support: 'Support',
changedYourVote: 'Changed vote',
association: 'Association',
sharemessage: "For all the fans who can't be there - check it out live at sporttotal",
autoGeneratedForTesting6mf6r0k: '7g9sf9121311',
learnMore: 'Learn more',
player: 'Player',
blocked: 'Sorry this content is not available in your region',
removedFavourite: 'Removed from favourites',
season: 'Season',
club: 'Club',
liveMatches: 'Live matches',
payPerViewBuyButton: 'Buy for',
searchPlaceholder: 'What are you looking for?',
thanksForVoting: 'Thanks for voting',
competition: 'Competition',
payPerViewRemainingMinutes: 'Time Remaining: {{value}} Minutes',
video: 'Video',
password: 'Password',
sport: 'Sport',
location: 'Location',
embed: 'Embedded',
men: 'Men',
share: 'Share',
payPerViewWatchOnWeb: 'Watch this on sporttotal.tv!',
live: 'Live',
cannotVoteTwiceForTheSameItem: "You can't vote twice",
visitWebsite: 'Visit website',
team: 'Team',
sponsorThisClub: 'Advertise for this club',
region: 'Region',
event: 'Event',
payPerViewRemainingHours: 'Time Remaining: {{value}} Hours',
myTeams: 'My Teams',
yourVote: 'Your vote',
auto_test_key: '08gy91',
women: 'Women',
updateKey: 'hqd5ic',
autoTestKey: 'asdfaa',
transactionFailedMessage: 'Sorry, your transaction could not be processed.',
faq: 'FAQ',
partner: 'Partner',
match: 'Match',
contact: 'Contact',
payPerViewBuyAgainButton: 'Buy Again for',
sponsorship: 'Ad Portal',
category: 'Category',
ad: 'Ad',
exploreAll: 'Explore',
legalDocuments: 'Terms of use',
imprint: 'Imprint',
autoGeneratedForTestings3tx0m: 'r8tyyp',
addYourFavourites: 'Add your favourites by pressing the + button on any page',
sponsorThisMatch: 'Sponsor this match',
show: 'Show',
privacyPolicy: 'Privacy policy',
reprocessableTransactionFailedMessage: 'Sorry, your transaction could not be processed. Please try again.',
myFavourites: 'My Favourites',
payPerView: 'Pay Per View',
partners: 'Partners',
camera: 'Camera',
noFavourites: 'No teams added yet',
cookieSettings: 'Cookie Settings',
addedFavourite: 'Added to favourites',
cookieMessage: 'This website uses cookies',
information: 'Information',
article: 'Article'
}

deepNotEqual(a,b) incorrectly returns false.. but deepNotEquals(b,a) correctly returns true

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.