Hi,
It seems that https://platform.twitter.com/widgets.js is trying to define itself as an anonymous AMD module when it finds an AMD-compatible window.define() function.
Doing so is invalid if the script has been loaded using a <script src=https://platform.twitter.com/widgets.js></script> tag, which many sites are doing right now.
For instance this causes require.js to throw an exception, and to fail any subsequent attempt to load an AMD module.
I haven’t noticed this before, is this new ?
Here is the offending code snippet in https://platform.twitter.com/widgets.js:
"function"==typeof define&&define.amd?define(function(){return it})
Here is a reproducing jsfiddle: http://jsfiddle.net/k7t7075x/
The console shows the following error:
Uncaught Error: Mismatched anonymous define() module: function (){return it}
http://requirejs.org/docs/errors.html#mismatch