tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TAP5-2149) Support JavaScript aggregation of modules, not just libraries
Date Mon, 04 Nov 2013 21:26:17 GMT

     [ https://issues.apache.org/jira/browse/TAP5-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Howard M. Lewis Ship closed TAP5-2149.

       Resolution: Fixed
    Fix Version/s: 5.4

> Support JavaScript aggregation of modules, not just libraries
> -------------------------------------------------------------
>                 Key: TAP5-2149
>                 URL: https://issues.apache.org/jira/browse/TAP5-2149
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Critical
>              Labels: javascript, requirejs
>             Fix For: 5.4
> One of the last major hurdles is to support aggregation of AMD modules; this would imply
that the modules become part of a JavaScriptStack.
> There are definitely some challenges to this; primarily the need to rewrite the JavaScript
> define(["dep1", "dep2", "dep3"], function(dep1, dep2, dep3) { ... });
> needs to be rewitten to:
> define("my/module/name", ["dep1", "dep2", "dep3", function(dep1, dep2, dep3) { ... });
> This can probably be accomplished using a regular expression. 
> RequireJS's r.js utility is powerful; part of its job is to automatically hunt down transitive
dependencies from a root namespace.  I don't know if we can effectively duplicate that; because
of issues such as CoffeeScript vs. JavaScript (vs. other languages), the fact that certain
modules are created at runtime, and other factors ... we may need to the user to supply a
list of which modules should be included, and the others will be fetched on-demand.

This message was sent by Atlassian JIRA

View raw message