gjs compatibility
[gnome.introspection-doc-generator] / File.js
diff --git a/File.js b/File.js
index 7cbed3d..ebb74cf 100755 (executable)
--- a/File.js
+++ b/File.js
@@ -1,8 +1,8 @@
 // <script type ="text/Javascript">
 // <script type ="text/Javascript">
-GLib = imports.gi.GLib;
-Gio = imports.gi.Gio;
+const GLib = imports.gi.GLib;
+const Gio = imports.gi.Gio;
 
 
-String  = imports.String.String; 
+const String  = imports.String.String; 
 /**
 * @namespace File
 * 
 /**
 * @namespace File
 * 
@@ -17,7 +17,7 @@ String  = imports.String.String;
 * 
 * 
 */
 * 
 * 
 */
-var File = {
+const  File = {
 
     SEPARATOR : '/',
 
 
     SEPARATOR : '/',