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-get.html b/js/testing/test-get.html
index 8053655..780b5be 100644
--- a/js/testing/test-get.html
+++ b/js/testing/test-get.html
@@ -11,7 +11,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>
@@ -27,8 +27,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>
@@ -74,7 +72,7 @@
<script type="text/javascript">
function getAction(){
- var interest = new Interest( new ContentName(document.getElementById('interest').value));
+ var interest = new Interest( new Name(document.getElementById('interest').value));
interest.scope = 1;
var received = get('127.0.0.1', 9695, encodeToHexInterest(interest));