tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2350) JavaScript library with module shim config is loaded twice if module is added to a stack
Date Wed, 18 Jun 2014 15:14:24 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14035801#comment-14035801
] 

ASF subversion and git services commented on TAP5-2350:
-------------------------------------------------------

Commit a08fd3bd19dfece2b818a0746af828f091277265 in tapestry-5's branch refs/heads/master from
[~jkemnade]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=a08fd3b ]

TAP5-2350: add an AMDWrapper class that can be used to wrap plain JavaScript libraries as
AMD modules


> JavaScript library with module shim config is loaded twice if module is added to a stack
> ----------------------------------------------------------------------------------------
>
>                 Key: TAP5-2350
>                 URL: https://issues.apache.org/jira/browse/TAP5-2350
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Jochen Kemnade
>              Labels: javascript, stack
>
> When a shim config is defined for a JavaScript library and the resulting "module" is
added to a JavaScript stack, the raw library will be added to the stack resource (without
a define statement). But under normal circumstances, it will never be used as it is added
without any module wrapper code.
> When the library is required (via the shim module) from another module, requirejs loads
it again.



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

Mime
View raw message