cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/scratchpad/schecoon/webapp example.js
Date Sun, 17 Mar 2002 22:02:54 GMT
ovidiu      02/03/17 14:02:54

  Modified:    src/scratchpad/schecoon/webapp example.js
  Log:
  Simple test of various Cocoon objects exported in JavaScript.
  
  Revision  Changes    Path
  1.2       +6 -2      xml-cocoon2/src/scratchpad/schecoon/webapp/example.js
  
  Index: example.js
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/webapp/example.js,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- example.js	15 Mar 2002 23:43:08 -0000	1.1
  +++ example.js	17 Mar 2002 22:02:54 -0000	1.2
  @@ -2,7 +2,11 @@
   
   a + 1;
   
  -function myf()
  +print ("def, cocoon = " + cocoon);
  +cocoon.load("example2.js");
  +
  +function myf(a, b)
   {
  -  return 5;
  +  log.debug("this is a debug test " + a + " b = " + cocoon.interpreter);
  +  return a + b;
   }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message