X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=String.js;h=5196351a07ec347afaf59545108c1705c5792f6e;hp=97f065f604636d6b2dc3cb863a5f45cd176c04f2;hb=229538a418ea43416b154f3f01067442783351fb;hpb=885a0bde84da3714ec329f8e36d59f08a1c07b9e diff --git a/String.js b/String.js index 97f065f..5196351 100755 --- a/String.js +++ b/String.js @@ -125,8 +125,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 +153,6 @@ XObject.extend(String.prototype, return this; } - }; + }); \ No newline at end of file