[Laszlo-checkins] r12344 - openlaszlo/branches/4.2/WEB-INF/lps/lfc/services
ptw@openlaszlo.org
ptw at openlaszlo.org
Wed Jan 7 13:28:50 PST 2009
Author: ptw
Date: 2009-01-07 13:28:49 -0800 (Wed, 07 Jan 2009)
New Revision: 12344
Modified:
openlaszlo/branches/4.2/WEB-INF/lps/lfc/services/LzBrowser.lzs
Log:
Change 20090107-ptw-e by ptw at dueling-banjos.home on 2009-01-07 16:26:03 EST
in /Users/ptw/OpenLaszlo/4.2
for http://svn.openlaszlo.org/openlaszlo/branches/4.2
Summary: Comment out deprecation warnings for lz.Browser.urlEscape
Bugs Fixed:
LPP-7581 Deprecation warnings for lz.Browser.urlEscape in smokecheck et al.
Details:
For 4.2.0.1 we are just turning these warnings off. The real fix
will be made for 4.2.1
Tests:
Visual inspection
Modified: openlaszlo/branches/4.2/WEB-INF/lps/lfc/services/LzBrowser.lzs
===================================================================
--- openlaszlo/branches/4.2/WEB-INF/lps/lfc/services/LzBrowser.lzs 2009-01-07 21:01:01 UTC (rev 12343)
+++ openlaszlo/branches/4.2/WEB-INF/lps/lfc/services/LzBrowser.lzs 2009-01-07 21:28:49 UTC (rev 12344)
@@ -338,9 +338,10 @@
* @deprecated Use encodeURIComponent(string) instead.
*/
function urlEscape (str:String) :String {
- if ($debug) {
- Debug.info('lz.Browser.urlEscape is deprecated, use encodeURIComponent instead');
- }
+ // Not for 4.2.0.1
+// if ($debug) {
+// Debug.info('lz.Browser.urlEscape is deprecated, use encodeURIComponent instead');
+// }
return encodeURIComponent( str );
}
@@ -350,9 +351,10 @@
* @return String: An URL decoded string
*/
function urlUnescape (str:String) :String {
- if ($debug) {
- Debug.info('lz.Browser.urlUnescape is deprecated, use decodeURIComponent instead');
- }
+ // Not for 4.2.0.1
+// if ($debug) {
+// Debug.info('lz.Browser.urlUnescape is deprecated, use decodeURIComponent instead');
+// }
return decodeURIComponent(str);
}
More information about the Laszlo-checkins
mailing list