You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Lars Trieloff (JIRA)" <ji...@apache.org> on 2010/07/09 17:07:51 UTC

[jira] Created: (SLING-1594) Support CommonJS Modules i.e. the require function

Support CommonJS Modules i.e. the require function
--------------------------------------------------

                 Key: SLING-1594
                 URL: https://issues.apache.org/jira/browse/SLING-1594
             Project: Sling
          Issue Type: Improvement
          Components: Scripting
            Reporter: Lars Trieloff
            Priority: Minor


SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.

http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-1594:
------------------------------------

    Attachment:     (was: Plugin.js)

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed SLING-1594.
-----------------------------------


> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-1594:
------------------------------------

    Fix Version/s: Scripting JavaScript 2.0.8

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-1594:
------------------------------------

    Attachment:     (was: Sytem Upgrade 1.js)

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-1594:
------------------------------------

    Attachment:     (was: AC_RUNACTIVECONTENT.JS)

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Charles L Fields (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles L Fields updated SLING-1594:
------------------------------------

    Attachment: AC_RUNACTIVECONTENT.JS

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: AC_RUNACTIVECONTENT.JS, SLING-1594.patch, System Upgrade 2.js
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-1594.
-------------------------------------

    Resolution: Fixed

Thanks for your patch, Lars - I've applied it in revision 995334.
It works for me on the first request, there is no need to reload

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-1594:
------------------------------------

    Attachment:     (was: effects.core.min.js)

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned SLING-1594:
---------------------------------------

    Assignee: Carsten Ziegeler

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Charles L Fields (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles L Fields updated SLING-1594:
------------------------------------

    Attachment: System Upgrade 2.js

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: AC_RUNACTIVECONTENT.JS, SLING-1594.patch, System Upgrade 2.js
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-1594:
------------------------------------

    Attachment:     (was: Code Implement.js)

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Charles L Fields (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles L Fields updated SLING-1594:
------------------------------------

    Attachment: TIc Tac Toe.dwt.asp

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: AC_RUNACTIVECONTENT.JS, effects.core.min.js, Plugin.js, SLING-1594.patch, System Upgrade 2.js, TIc Tac Toe.dwt.asp
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Charles L Fields (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles L Fields updated SLING-1594:
------------------------------------

    Attachment: Plugin.js

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: AC_RUNACTIVECONTENT.JS, Plugin.js, SLING-1594.patch, System Upgrade 2.js
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Charles L Fields (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles L Fields updated SLING-1594:
------------------------------------

    Attachment: Sytem Upgrade 1.js

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: Code Implement.js, SLING-1594.patch, Sytem Upgrade 1.js
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-1594:
------------------------------------

    Attachment:     (was: TIc Tac Toe.dwt.asp)

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-1594:
------------------------------------

    Attachment:     (was: System Upgrade 2.js)

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Charles L Fields (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles L Fields updated SLING-1594:
------------------------------------

    Attachment: effects.core.min.js

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: AC_RUNACTIVECONTENT.JS, effects.core.min.js, Plugin.js, SLING-1594.patch, System Upgrade 2.js
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Lars Trieloff (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Trieloff updated SLING-1594:
---------------------------------

    Attachment: SLING-1594.patch

This patch implements common.js modules. You can try by putting a file math.js in libs and another file increment.js in apps with the contents described at http://wiki.commonjs.org/wiki/Modules/1.1

Then it is possible to require("increment") in your esp files.

I have noted one problem: on the first run the included script file cannot be read properly, but reloading the resource in the browser helps. I am not sure about the exact source of this issue.

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Priority: Minor
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-1594:
------------------------------------

    Attachment:     (was: Server Update.js)

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Charles L Fields (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles L Fields updated SLING-1594:
------------------------------------

    Attachment: Code Implement.js

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: Code Implement.js, SLING-1594.patch, Sytem Upgrade 1.js
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by Carsten Ziegeler <cz...@apache.org>.
Justin Edelson  wrote
> This is all spam, right? 
> 
Yes, I think so - therefore I removed the attachments.

Carsten

> 
> On Oct 29, 2010, at 5:18 PM, "Charles L Fields (JIRA)" <ji...@apache.org> wrote:
> 
>>
>>     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>
>> Charles L Fields updated SLING-1594:
>> ------------------------------------
>>
>>    Attachment: Server Update.js
>>
>>> Support CommonJS Modules i.e. the require function
>>> --------------------------------------------------
>>>
>>>                Key: SLING-1594
>>>                URL: https://issues.apache.org/jira/browse/SLING-1594
>>>            Project: Sling
>>>         Issue Type: Improvement
>>>         Components: Scripting
>>>           Reporter: Lars Trieloff
>>>           Assignee: Carsten Ziegeler
>>>           Priority: Minor
>>>            Fix For: Scripting JavaScript 2.0.8
>>>
>>>        Attachments: Server Update.js, SLING-1594.patch
>>>
>>>
>>> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
>>> http://wiki.commonjs.org/wiki/Modules/1.1.1
>>
>> -- 
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
> 


-- 
Carsten Ziegeler
cziegeler@apache.org

Re: [jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by Justin Edelson <ju...@justinedelson.com>.
This is all spam, right? 


On Oct 29, 2010, at 5:18 PM, "Charles L Fields (JIRA)" <ji...@apache.org> wrote:

> 
>     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Charles L Fields updated SLING-1594:
> ------------------------------------
> 
>    Attachment: Server Update.js
> 
>> Support CommonJS Modules i.e. the require function
>> --------------------------------------------------
>> 
>>                Key: SLING-1594
>>                URL: https://issues.apache.org/jira/browse/SLING-1594
>>            Project: Sling
>>         Issue Type: Improvement
>>         Components: Scripting
>>           Reporter: Lars Trieloff
>>           Assignee: Carsten Ziegeler
>>           Priority: Minor
>>            Fix For: Scripting JavaScript 2.0.8
>> 
>>        Attachments: Server Update.js, SLING-1594.patch
>> 
>> 
>> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
>> http://wiki.commonjs.org/wiki/Modules/1.1.1
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 

[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

Posted by "Charles L Fields (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles L Fields updated SLING-1594:
------------------------------------

    Attachment: Server Update.js

> Support CommonJS Modules i.e. the require function
> --------------------------------------------------
>
>                 Key: SLING-1594
>                 URL: https://issues.apache.org/jira/browse/SLING-1594
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Lars Trieloff
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.8
>
>         Attachments: Server Update.js, SLING-1594.patch
>
>
> SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible.
> http://wiki.commonjs.org/wiki/Modules/1.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.