JSDOC/TokenReader.js
[gnome.introspection-doc-generator] / String.js
old mode 100755 (executable)
new mode 100644 (file)
index 97f065f..e5e01d0
--- a/String.js
+++ b/String.js
@@ -9,10 +9,12 @@
  * <script type="text/javascript">
  */
 // usage:
-//String = imports.String.String; 
-XObject = imports.XObject.XObject;
+// Seed.include('String.js');
+const XObject = imports.XObject.XObject;
 
-String = XObject.extend(String, 
+
+
+XObject.extend(String, 
     {
     
         /** @scope String */
@@ -125,8 +127,7 @@ String = XObject.extend(String,
      * @return {String} The new value
      */
      
-XObject.extend(String.prototype, 
-    {
+XObject.extend(String.prototype,  {
         
         toggle : function(value, other){
             return this == value ? other : value;
@@ -154,6 +155,6 @@ XObject.extend(String.prototype,
             return this;
         }
  
-    };
+    
    
 });
\ No newline at end of file