提交 71bc9fb5 编写于 作者: M Mr.doob

Editor: Added commented out DropBox code.

上级 4abfd839
......@@ -148,6 +148,8 @@
<script src="js/commands/SetMaterialMapCommand.js"></script>
<script src="js/commands/SetSceneCommand.js"></script>
<!-- <script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="qyqgfqd9j8z890t"></script> -->
<script>
window.URL = window.URL || window.webkitURL;
......
......@@ -251,6 +251,26 @@ Menubar.File = function ( editor ) {
} );
options.add( option );
/*
// Publish (Dropbox)
var option = new UI.Row();
option.setClass( 'option' );
option.setTextContent( 'Publish (Dropbox)' );
option.onClick( function () {
var parameters = {
files: [
{ 'url': 'data:text/plain;base64,' + window.btoa( "Hello, World" ), 'filename': 'app/test.txt' }
]
};
Dropbox.save( parameters );
} );
options.add( option );
*/
//
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册