You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by do...@apache.org on 2008/02/22 23:56:12 UTC
svn commit: r630346 -
/incubator/shindig/trunk/features/opensocial-reference/enum.js
Author: doll
Date: Fri Feb 22 14:55:58 2008
New Revision: 630346
URL: http://svn.apache.org/viewvc?rev=630346&view=rev
Log:
Also added escaping to enum.js
(Forgot this one in the last commit)
Modified:
incubator/shindig/trunk/features/opensocial-reference/enum.js
Modified: incubator/shindig/trunk/features/opensocial-reference/enum.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-reference/enum.js?rev=630346&r1=630345&r2=630346&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-reference/enum.js (original)
+++ incubator/shindig/trunk/features/opensocial-reference/enum.js Fri Feb 22 14:55:58 2008
@@ -80,7 +80,7 @@
* below.
*/
opensocial.Enum.prototype.getKey = function() {
- return this.key;
+ return gadgets.util.escapeString(this.key);
};
@@ -91,7 +91,7 @@
* @return {String} The enum's value.
*/
opensocial.Enum.prototype.getDisplayValue = function() {
- return this.displayValue;
+ return gadgets.util.escapeString(this.displayValue);
};