projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JSDOC/Scope.js
[gnome.introspection-doc-generator]
/
File.js
diff --git
a/File.js
b/File.js
index
a704c9e
..
77777ba
100755
(executable)
--- a/
File.js
+++ b/
File.js
@@
-2,8
+2,7
@@
GLib = imports.gi.GLib;
Gio = imports.gi.Gio;
GLib = imports.gi.GLib;
Gio = imports.gi.Gio;
-imports['String.js'].load(String);
-
+String = imports.String.String;
/**
* @namespace File
*
/**
* @namespace File
*
@@
-174,6
+173,7
@@
var File = {
*/
mkdir : function (destPath) {
var dest = Gio.file_new_for_path(String(destPath));
*/
mkdir : function (destPath) {
var dest = Gio.file_new_for_path(String(destPath));
+
return dest.make_directory(null, null);
},
/**
return dest.make_directory(null, null);
},
/**