We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 423df35 commit b932ba1Copy full SHA for b932ba1
examples/index.html
@@ -282,17 +282,7 @@ <h1><a href="http://threejs.org">three.js</a> / examples</h1>
282
button.textContent = 'View source';
283
button.addEventListener( 'click', function ( event ) {
284
285
- try {
286
-
287
- var url = location.href.split( '/' ).slice( 0, - 1 ).join( '/' );
288
- window.open( 'view-source:' + url + '/' + selected + '.html' );
289
290
- } catch ( e ) {
291
292
- window.open( 'https://github.com/mrdoob/three.js/blob/master/examples/' + selected + '.html' );
293
- console.log( e );
294
295
- }
+ window.open( 'https://github.com/mrdoob/three.js/blob/master/examples/' + selected + '.html' );
296
297
}, false );
298
button.style.display = 'none';
0 commit comments