Skip to content

Commit 80925f3

Browse files
committed
Update index.js
1 parent 33316e8 commit 80925f3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

www/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,15 @@ function onError(error) {
6363
// xhr.send(null);
6464
// return xhr.responseText;
6565
// }
66+
67+
// // Allows different urn to be passed as url parameter
68+
// var paramUrn = Autodesk.Viewing.Private.getParameterByName('urn');
69+
// var urn = (paramUrn !== '' ? paramUrn : defaultUrn);
70+
//
6671
//
72+
// if (urn.indexOf('urn:') !== 0)
73+
// urn = 'urn:' + urn;
74+
6775
// function initializeViewer(containerId, documentId, role) {
6876
// var viewerContainer = document.getElementById(containerId);
6977
// var viewer = new Autodesk.Viewing.Private.GuiViewer3D(

0 commit comments

Comments
 (0)