- From: Shane McCarron via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 31 Mar 2010 16:21:21 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv29030
Modified Files:
respec.js
Log Message:
Remove data- attributes in generated output after performing transformations.
Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- respec.js 15 Mar 2010 10:51:28 -0000 1.100
+++ respec.js 31 Mar 2010 16:21:18 -0000 1.101
@@ -359,6 +359,7 @@
warning('call to ' + call + ' failed with ' + e) ;
}
}
+ div.removeAttribute('data-transform') ;
}
if (content) {
div.innerHTML = content ;
@@ -384,7 +385,9 @@
warning('call to ' + call + ' failed with ' + e) ;
}
}
+ div.removeAttribute('data-oninclude') ;
}
+ div.removeAttribute('data-include') ;
div.innerHTML = content ;
}
}
Received on Wednesday, 31 March 2010 16:21:25 UTC