Modified: src/blocks/ojb/samples/woody employee.js
Log:
fixed line endings issue
Revision Changes Path
1.7 +32 -32 cocoon-2.1/src/blocks/ojb/samples/woody/employee.js
This file was broken in that way that I had unix line ends on a windows machine. Viewing the file in notepad made this more than clear, opening it in jEdit shows this too as jEdit is line ends aware. I converted it to Windows line ends using jEdit. But from below it does not look that good, does it? These "2 lines per 1 line" in the commit mail has been a good hint on broken line ends until now. Can somebody fix it or point on a tool for verifying such issues and fixing them?
Joerg
+cocoon.load("resource://org/apache/cocoon/woody/flow/javascript/woody2.js");
+
+function employeeform_jdo(form) {
+
+ // Get OJB factory
+ var factory = cocoon.getComponent(Packages.org.apache.cocoon.ojb.jdo.components.JdoPMF.ROLE);
