Skip to content

Commit

Permalink
Exact paths.
Browse files Browse the repository at this point in the history
Related d3/d3#3265.
  • Loading branch information
mbostock committed Aug 7, 2019
1 parent d6e507a commit f20bbe9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/drag.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {dispatch} from "d3-dispatch";
import {event, customEvent, select, mouse, touch} from "d3-selection";
import nodrag, {yesdrag} from "./nodrag";
import noevent, {nopropagation} from "./noevent";
import constant from "./constant";
import DragEvent from "./event";
import nodrag, {yesdrag} from "./nodrag.js";
import noevent, {nopropagation} from "./noevent.js";
import constant from "./constant.js";
import DragEvent from "./event.js";

// Ignore right-click, since that should open the context menu.
function defaultFilter() {
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export {default as drag} from "./drag";
export {default as dragDisable, yesdrag as dragEnable} from "./nodrag";
export {default as drag} from "./drag.js";
export {default as dragDisable, yesdrag as dragEnable} from "./nodrag.js";
2 changes: 1 addition & 1 deletion src/nodrag.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {select} from "d3-selection";
import noevent from "./noevent";
import noevent from "./noevent.js";

export default function(view) {
var root = view.document.documentElement,
Expand Down

0 comments on commit f20bbe9

Please # to comment.