google-code-export / zfdebug

Automatically exported from code.google.com/p/zfdebug
Other
1 stars 1 forks source link

Script header, Jquery noconflict mode, #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Two problems:

1. ZFDebug script emplacement

ZFDebug script header must be added just before the end close of <head> tag and 
not just after the begin of it to prevent multiple download if another jQuery 
version is setup on the site (eg Loaded through ZendX).

2. ZFDebug - jQuery noconflict mode

The noconflict mode activation should be optional since if activated and then, 
the site already use jQuery in normal mode via ZendX or another way, the 
shortcut $() is not longer available.

To finish all charset in script tag must be removed to pass wc3 validation:

<script type="text/javascript" charset="utf-8">

Should be 

<script type="text/javascript">

When no src is provided.

Original issue reported on code.google.com by nuxwi...@gmail.com on 23 Apr 2011 at 10:39