r9600 - helma-ng/trunk/modules/helma/webapp
| Newsgroups | gmane.comp.java.helma.cvs |
|---|---|
| Message-ID | <20090410073244.09FE63D0D6@mia> |
Author: hannes
Date: 2009-04-10 09:32:43 +0200 (Fri, 10 Apr 2009)
New Revision: 9600
Modified:
helma-ng/trunk/modules/helma/webapp/response.js
Log:
Add hack to make helma/webapp/response evaluate.
Details at http://dev.helma.org/trac/helma/changeset/9600
Modified: helma-ng/trunk/modules/helma/webapp/response.js
===================================================================
--- helma-ng/trunk/modules/helma/webapp/response.js 2009-04-10 05:32:53 UTC (rev 9599)
+++ helma-ng/trunk/modules/helma/webapp/response.js 2009-04-10 07:32:43 UTC (rev 9600)
@@ -1,7 +1,8 @@
include('helma/buffer');
import('helma/system', 'system');
-if (!global.Response) {
+// FIXME hack to get this to evaluate
+if (!global.Response || !Response.prototype.render) {
system.addHostObject(org.helma.web.Response);