Major update to rename ccnx to ndn, mainly in ndnProtocol and also in a few files with ccnx in comments.
diff --git a/js/Name.js b/js/Name.js
index b8a484a..8bd355d 100644
--- a/js/Name.js
+++ b/js/Name.js
@@ -45,7 +45,7 @@
// Make sure the colon came before a '/'.
var iFirstSlash = name.indexOf('/');
if (iFirstSlash < 0 || iColon < iFirstSlash)
- // Omit the leading protocol such as ccnx:
+ // Omit the leading protocol such as ndn:
name = name.substr(iColon + 1, name.length - iColon - 1).trim();
}
@@ -152,7 +152,7 @@
return this.components.push(result);
};
-// Return the escaped name string according to "CCNx URI Scheme". Does not include "ccnx:".
+// Return the escaped name string according to "CCNx URI Scheme".
Name.prototype.to_uri = function() {
var result = "";