California 55 for Clinton. The Trump popular votes were credited to both the Republican and American Independent party slates. Under the full faith and credit clause of the US Constitution, these 4.4 million popular votes must be credited to Trump twice. Trump wins the popular vote.
Is that supposed to be a joke?
Before the election, the SOS sent out a memo saying that they would figure out how to handle the situation if and when it mattered (i.e. they recognized the deficiency in their statutes, but didn't think Trump would win). They also insisted on including instructions that voters could not follow.
California doesn't actually have a statute that says how to convert marks on ballot papers into votes for elector candidates.
Saying that Trump won the popular vote because of that is BS though. California definitely has some weird election laws (like the fusion law) beyond the top two primary. Like how someone can be an officially recognized write in candidate against their will. I guess I don't mind because it was interesting to see how Sanders did, but it's still odd.