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

2010-10-31 Thread Charles L Fields (JIRA)

 [ 
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

2010-10-31 Thread Charles L Fields (JIRA)

 [ 
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

2010-10-31 Thread Charles L Fields (JIRA)

 [ 
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

2010-10-31 Thread Carsten Ziegeler (JIRA)

 [ 
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] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

2010-10-31 Thread Carsten Ziegeler (JIRA)

 [ 
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

2010-10-31 Thread Carsten Ziegeler (JIRA)

 [ 
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

2010-10-31 Thread Carsten Ziegeler (JIRA)

 [ 
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.



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

2010-10-30 Thread Carsten Ziegeler
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) j...@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
cziege...@apache.org


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

2010-10-30 Thread Carsten Ziegeler (JIRA)

 [ 
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

2010-10-30 Thread Charles L Fields (JIRA)

 [ 
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] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function

2010-10-30 Thread Charles L Fields (JIRA)

 [ 
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

2010-10-29 Thread Charles L Fields (JIRA)

 [ 
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.



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

2010-10-29 Thread Justin Edelson
This is all spam, right? 


On Oct 29, 2010, at 5:18 PM, Charles L Fields (JIRA) j...@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

2010-10-28 Thread Carsten Ziegeler (JIRA)

 [ 
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

2010-10-28 Thread Carsten Ziegeler (JIRA)

 [ 
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

2010-10-27 Thread Charles L Fields (JIRA)

 [ 
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

2010-10-27 Thread Charles L Fields (JIRA)

 [ 
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.



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

2010-09-07 Thread Carsten Ziegeler (JIRA)

 [ 
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

2010-08-11 Thread Lars Trieloff (JIRA)

 [ 
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.