3 ms·
Now that the DOM API is implemented in a standards-compliant way across most browsers... At Facebook 'most browsers' has a very different meaning compared to o
by onion2k 9y ago
Now that the DOM API is implemented in a standards-compliant way across most browsers...
At Facebook 'most browsers' has a very different meaning compared to other websites. When Facebook deploys code that works for 99.5% of their users that means they're failing ~10,000,000 people. Consequently they have a lot of code to handle the cases where they can't just rely on 'most browsers'. It's entirely valid that they maintain a relatively large library, and pretty awesome that they share it publicly.