Revision: 4205 http://vexi.svn.sourceforge.net/vexi/?rev=4205&view=rev Author: clrg Date: 2011-08-17 02:15:48 +0000 (Wed, 17 Aug 2011)
Log Message: ----------- Bit more jsdoc Modified Paths: -------------- trunk/org.vexi-library.js/src/main/jpp/org/vexi/js/VexiJS.jpp Modified: trunk/org.vexi-library.js/src/main/jpp/org/vexi/js/VexiJS.jpp =================================================================== --- trunk/org.vexi-library.js/src/main/jpp/org/vexi/js/VexiJS.jpp 2011-08-17 02:04:17 UTC (rev 4204) +++ trunk/org.vexi-library.js/src/main/jpp/org/vexi/js/VexiJS.jpp 2011-08-17 02:15:48 UTC (rev 4205) @@ -518,6 +518,7 @@ public JS get(JS key) throws JSExn { //#switch(JSU.toString(key)) /*@PAGE(varname=js,humanname=JS Library Object)*/ + /* <p>Creates an array with an initial size. Passing in the size makes no semantic * difference, but is used to detirmine an amount of space to preallocate. It is an * optimisation to avoid resizing and over allocation.</p> @@ -537,12 +538,33 @@ case "String": return org.ibex.js.JSString.Constructor; case "constructorsOf": return METHOD; + /* <p>Creates a deep copy of the input, with all referenced arrays/objects + * also copied.</p> + * @method + * @param(name=js) + * @return(<i>varies</i>) + * */ case "deepcopy": return METHOD; + /* <p>Evaluates the given string as JS.</p> + * + * <p><b>Hint:</b> if you want the evaluated JS to return its result then + * it should be <code>"return ...;"</code></p> + * @method + * @param(name=string) + * @return(<i>varies</i>) + * */ case "eval": return METHOD; - /* @method + /* <p>Converts the input in to a nicely formatted string.</p> + * @method + * @param(name=js) * @return(String) * */ case "format": return script().get(key); + /* <p>Takes the given JS and returns a JSON string.</p> + * @method + * @param(name=js) + * @return(String) + * */ case "stringify": return METHOD; //#end return super.get(key); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn