projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abf0531
)
File.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 2 Apr 2012 07:42:59 +0000
(15:42 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 2 Apr 2012 07:42:59 +0000
(15:42 +0800)
File.js
patch
|
blob
|
history
diff --git
a/File.js
b/File.js
index
2bab627
..
53a4fad
100644
(file)
--- a/
File.js
+++ b/
File.js
@@
-113,8
+113,8
@@
var File = {
* @returns {String} the resolved path path.
*
*/
- realpath : function (path) {
- return
this.canonical
(path);
+ realpath : function (path) {
+ return
imports.os.realpath
(path);
},
canonical : function (path) {
var f = Gio.file_new_for_path(String(path));