JSDOC/TokenReader.js
[gnome.introspection-doc-generator] / JSDOC / TextStream.js
index a916386..073c626 100644 (file)
@@ -1,12 +1,12 @@
 //<script type="text/javscript">
 
-XObject = imports.XObject.XObject;
+const XObject = imports.XObject.XObject;
 
 
 /**
        @constructor
 */
-TextStream = XObject.define(
+const TextStream = XObject.define(
     function(text) {
         if (typeof(text) == "undefined") text = "";
         text = ""+text;