From 15fce86013cbc96f041633ed471161c4fb6a1b24 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 28 Jun 2010 18:37:04 +0800 Subject: [PATCH] String.js --- String.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.2