From: Alan Knowles Date: Mon, 28 Jun 2010 10:37:04 +0000 (+0800) Subject: String.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=15fce86013cbc96f041633ed471161c4fb6a1b24;ds=sidebyside String.js --- diff --git a/String.js b/String.js index 44a1655..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;