File.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 03:32:59 +0000 (11:32 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 03:32:59 +0000 (11:32 +0800)
File.js

diff --git a/File.js b/File.js
index 2b74b09..647afe0 100755 (executable)
--- a/File.js
+++ b/File.js
@@ -116,6 +116,7 @@ var File = {
     },
     /**
      * remove 
+     * Delete a file.
      * @arg path {String} File to remove
      * 
      * 
@@ -124,7 +125,7 @@ var File = {
     {
         var f = Gio.file_new_for_path(String(path));
         return f.delete();
-    }
+    },
     // copy files recursively from fromDir, silently ignore them if they already exist in toDir
     silentRecursiveCopy : function (fromDir, toDir) {
         var filesToCopy = File.recursiveListing(fromDir);