tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Poulsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAP5-2339) Ajax exception frame complains about "Function expected" in IE8
Date Mon, 19 May 2014 19:16:39 GMT
Chris Poulsen created TAP5-2339:
-----------------------------------

             Summary: Ajax exception frame complains about "Function expected" in IE8
                 Key: TAP5-2339
                 URL: https://issues.apache.org/jira/browse/TAP5-2339
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.4
            Reporter: Chris Poulsen


It is the following code that fails: 
<script type="text/javascript">require(["t5/core/pageinit"], function(pi) { pi([], ["bootstrap/collapse","t5/core/zone"]);
});</script>

Apparently "require" is the object it is instantiated to be (init config), not the product
of require.js being loaded.

To reproduce create a T5.4 quickstart app and throw a RuntimeException in void onAjax() (Index.java).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message