Major update: refactored the API of all classes to make attributes start with a lower case letter and rename encode=>to_ccnb() and decode()=>from_ccnb.
(according to the API notes: http://sea.remap.ucla.edu:8080/attachments/download/23/lwndn_api-notes_21020830.txt )
diff --git a/js/ExcludeAny.js b/js/ExcludeAny.js
index 25a1a23..7986cba 100644
--- a/js/ExcludeAny.js
+++ b/js/ExcludeAny.js
@@ -7,13 +7,13 @@
};
-ExcludeAny.prototype.decode = function(decoder) {
+ExcludeAny.prototype.from_ccnb = function(decoder) {
decoder.readStartElement(this.getElementLabel());
decoder.readEndElement();
};
-ExcludeAny.prototype.encode = function( encoder) {
+ExcludeAny.prototype.to_ccnb = function( encoder) {
encoder.writeStartElement(this.getElementLabel());
encoder.writeEndElement();
};