소스 검색

Update the phosphor drag-drop mime

Steven Silvester 8 년 전
부모
커밋
b9cd0a57e4
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/filebrowser/listing.ts
  2. 2 2
      src/notebook/output-area/widget.ts

+ 1 - 1
src/filebrowser/listing.ts

@@ -175,7 +175,7 @@ const IS_MAC = !!navigator.platform.match(/Mac/i);
 /**
  * The factory MIME type supported by phosphor dock panels.
  */
-const FACTORY_MIME = 'application/x-phosphor-widget-factory';
+const FACTORY_MIME = 'application/vnd.phosphor.widget-factory';
 
 
 /**

+ 2 - 2
src/notebook/output-area/widget.ts

@@ -18,7 +18,7 @@ import {
 } from 'phosphor/lib/core/signaling';
 
 import {
-  Drag, DropAction
+  Drag
 } from 'phosphor/lib/dom/dragdrop';
 
 import {
@@ -54,7 +54,7 @@ const DRAG_THRESHOLD = 5;
 /**
  * The factory MIME type supported by phosphor dock panels.
  */
-const FACTORY_MIME = 'application/x-phosphor-widget-factory';
+const FACTORY_MIME = 'application/vnd.phosphor.widget-factory';
 
 /**
  * The class name added to an output area widget.