Major update: Refactor to rename ContentName to Name. Delete KeyName.js. For the moment, the KeyName class is now in KeyLocator.js.
This is done 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-ContentObject.html b/js/testing/test-encode-decode-ContentObject.html
index 6818a86..08904c8 100644
--- a/js/testing/test-encode-decode-ContentObject.html
+++ b/js/testing/test-encode-decode-ContentObject.html
@@ -12,7 +12,7 @@
<script type="text/javascript" src="../CCNTime.js"></script>
- <script type="text/javascript" src="../ContentName.js"></script>
+ <script type="text/javascript" src="../Name.js"></script>
<script type="text/javascript" src="../ContentObject.js"></script>
@@ -26,8 +26,6 @@
<script type="text/javascript" src="../KeyLocator.js"></script>
- <script type="text/javascript" src="../KeyName.js"></script>
-
<script type="text/javascript" src="../PublisherID.js"></script>
<script type="text/javascript" src="../Signature.js"></script>
@@ -72,7 +70,7 @@
<script type="text/javascript">
function encode(){
- var contentname = new ContentName( document.getElementById('contentname').value );
+ var contentname = new Name( document.getElementById('contentname').value );
var content = document.getElementById('content').value;