-
- Downloads
Remove type="text/javascript" from script tags.
"text/javascript" is not a correct MIME type (the correct one is "application/javascript") but it's not even needed; all browsers default to the correct type and treat it as executable JS when type is ommited. Since not all browsers recognize the "application/javascript" MIME type the only way to both stay compliant and to support all popular browsers is to omit the type. It's also shorter this way.
Showing
- examples/acroforms/index.html 12 additions, 12 deletionsexamples/acroforms/index.html
- examples/helloworld/index.html 12 additions, 12 deletionsexamples/helloworld/index.html
- examples/text-only/index.html 1 addition, 1 deletionexamples/text-only/index.html
- examples/text-selection/index.html 3 additions, 3 deletionsexamples/text-selection/index.html
- extensions/b2g/viewer.html 4 additions, 4 deletionsextensions/b2g/viewer.html
- test/font/font_test.html 39 additions, 39 deletionstest/font/font_test.html
- test/test_slave.html 14 additions, 14 deletionstest/test_slave.html
- test/unit/unit_test.html 45 additions, 45 deletionstest/unit/unit_test.html
- web/viewer-snippet-chrome-extension.html 2 additions, 2 deletionsweb/viewer-snippet-chrome-extension.html
- web/viewer-snippet-firefox-extension.html 2 additions, 2 deletionsweb/viewer-snippet-firefox-extension.html
- web/viewer-snippet-minified.html 1 addition, 1 deletionweb/viewer-snippet-minified.html
- web/viewer-snippet.html 2 additions, 2 deletionsweb/viewer-snippet.html
- web/viewer.html 34 additions, 34 deletionsweb/viewer.html
Loading
Please register or sign in to comment