Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/myjerry/as3utils
Browse files Browse the repository at this point in the history
  • Loading branch information
sangupta committed Oct 3, 2011
2 parents 5ab5b37 + 414531b commit 49b2660
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
1 change: 1 addition & 0 deletions build/build.xml
Expand Up @@ -51,6 +51,7 @@
<target name="asdocs">
<exec executable="${FLEX_HOME}/bin/aasdoc.bat" dir="." failonerror="true" failifexecutionfails="true">
<arg line="-doc-sources ${src.dir}" />
<arg line="-package-description-file=build/packageDescription.xml" />
<arg line="-source-path ${src.dir}" />
<arg line="-output ${release.dir}/docs" />
<arg line="-window-title &quot;${doc.window.title}&quot;" />
Expand Down
21 changes: 21 additions & 0 deletions build/packageDescription.xml
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>

<overviews>
<packages>
<package name="org.myjerry.as3utils">
<shortDescription>
Contains the various utility classes.
</shortDescription>
<description>
Contains the various utility classes.
</description>
</package>
<package name="org.myjerry.as3utils.filefilter">
<shortDescription>
<![CDATA[
Common implementations for the &lt;code&gt;IFileFilter&lt;/code&gt; interface
]]>
</shortDescription>
</package>
</packages>
</overviews>
5 changes: 4 additions & 1 deletion src/org/myjerry/as3utils/ArrayUtils.as
Expand Up @@ -30,7 +30,7 @@ package org.myjerry.as3utils {
public class ArrayUtils {

/**
* <code>Arrayutils</code> instances should NOT be constructed in standard programming.
* <code>ArrayUtils</code> instances should NOT be constructed in standard programming.
*/
public function ArrayUtils() {
super();
Expand Down Expand Up @@ -89,6 +89,9 @@ package org.myjerry.as3utils {
}
}

/**
* Remove all elements from the given array.
*/
public static function clear(array:Array):void {
if(array != null) {
array.splice(0, array.length);
Expand Down

0 comments on commit 49b2660

Please sign in to comment.