You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by ch...@apache.org on 2010/03/09 23:10:08 UTC
svn commit: r921158 -
/shindig/trunk/features/src/main/javascript/features/core.io/io.js
Author: chirag
Date: Tue Mar 9 22:10:07 2010
New Revision: 921158
URL: http://svn.apache.org/viewvc?rev=921158&view=rev
Log:
SHINDIG-1293 - Ignore ___ properties in gadgets.io.encodeValues. Interim solution until the caja ict maven plugin is ready.
Modified:
shindig/trunk/features/src/main/javascript/features/core.io/io.js
Modified: shindig/trunk/features/src/main/javascript/features/core.io/io.js
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/core.io/io.js?rev=921158&r1=921157&r2=921158&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/core.io/io.js (original)
+++ shindig/trunk/features/src/main/javascript/features/core.io/io.js Tue Mar 9 22:10:07 2010
@@ -460,7 +460,7 @@ gadgets.io = function() {
var buf = [];
var first = false;
for (var i in fields) {
- if (fields.hasOwnProperty(i)) {
+ if (fields.hasOwnProperty(i) && !/___$/.test(i)) {
if (!first) {
first = true;
} else {