[Jifty-commit] r1044 - in jifty/trunk: lib/Jifty/View/Static
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sat May 13 16:38:59 EDT 2006
Author: trs
Date: Sat May 13 16:38:58 2006
New Revision: 1044
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/View/Static/Handler.pm
Log:
r12267 at zot: tom | 2006-05-13 16:38:53 -0400
Put a note in a code
Modified: jifty/trunk/lib/Jifty/View/Static/Handler.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Static/Handler.pm (original)
+++ jifty/trunk/lib/Jifty/View/Static/Handler.pm Sat May 13 16:38:58 2006
@@ -137,6 +137,9 @@
# The key is the file extension, the value is the MIME type to send.
my %type_override = (
+ # MIME::Types returns application/javascript for .js, but Opera
+ # chokes on ajax-fetched JS that has a type other than the one below
+ # JSAN.js fetches JS via Ajax when it loads JSAN modules
'js' => 'application/x-javascript',
);
More information about the Jifty-commit
mailing list