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/testing/test-encode-decode-Interest.html b/js/testing/test-encode-decode-Interest.html
index dd3e3b4..d957176 100644
--- a/js/testing/test-encode-decode-Interest.html
+++ b/js/testing/test-encode-decode-Interest.html
@@ -100,13 +100,13 @@
var output ="";
- if(interest.name!=null && interest.name.Components!=null){
+ if(interest.name!=null && interest.name.components!=null){
output+= "NAME: ";
output+= interest.name.getName();
- /*for(var i=0;i<interest.name.Components.length;i++){
+ /*for(var i=0;i<interest.name.components.length;i++){
output+= "/"+ DataUtils.toString(interest.name.Components[i]);
}*/
@@ -127,10 +127,10 @@
if(interest.publisherID!=null ){
output+= "PUBLISHER ID: ";
- output+= interest.publisherID.PublisherID;
+ output+= interest.publisherID.publisherID;
output+= "PUBLISHER ID TYPE: ";
- output+= interest.publisherID.PublisherType;
+ output+= interest.publisherID.publisherType;
output+= "<br />";
output+= "<br />";
}