JSDOC/TextStream.js
[gnome.introspection-doc-generator] / JSDOC / TextStream.js
index 4c5452b..0682c0b 100644 (file)
@@ -1,8 +1,6 @@
 //<script type="text/javscript">
 
-JSDOC   = imports['JSDOC.js'].JSDOC;
-Roo     = imports['Roo.js'].Roo;
-
+XObject = imports.XObject.XObject;
 
 
 /**
@@ -15,7 +13,7 @@ TextStream = function(text) {
        this.cursor = 0;
 }
 
-Roo.apply( TextStream.prototype, { 
+XObject.extend( TextStream.prototype, { 
     
     look : function(n) {
         if (typeof n == "undefined") n = 0;