Skip to content

Commit

Permalink
Moved files around
Browse files Browse the repository at this point in the history
This should fix #2
  • Loading branch information
anvaka committed Oct 15, 2018
1 parent b570425 commit ceeb048
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/brute.js → brute.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import intersectSegments from './intersectSegments';
import intersectSegments from './src/intersectSegments';

/**
* This is a brute force solution with O(n^2) performance.
Expand Down
2 changes: 1 addition & 1 deletion build/isect.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/isect.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/isect.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/bush.js → bush.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Flatbush from 'flatbush';
import intersectSegments from './intersectSegments';
import intersectSegments from './src/intersectSegments';

/**
* This implementation is inspired by discussion here
Expand Down
4 changes: 2 additions & 2 deletions demo/interactive/src/scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import appStatus from './appStatus';

export default createScene;

let isect = require('../../../');
let isect = require('../../../index.js');
let wgl = require('w-gl');

function createScene(options, canvas) {
Expand Down Expand Up @@ -220,4 +220,4 @@ function createScene(options, canvas) {

function formatWithDecimalSeparator(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion rollup.config-min.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const banner =
' * Released under the MIT License.\n' +
' */'
export default {
input: 'src/index.js',
input: 'index.js',
plugins: [
node(),
cjs(),
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const banner =
' * Released under the MIT License.\n' +
' */'
export default {
input: 'src/index.js',
input: 'index.js',
plugins: [
node(),
cjs(),
Expand Down
8 changes: 4 additions & 4 deletions src/sweep.js → sweep.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import createEventQueue from './createEventQueue';
import createSweepStatus from './sweepStatus';
import SweepEvent from './SweepEvent';
import createEventQueue from './src/createEventQueue';
import createSweepStatus from './src/sweepStatus';
import SweepEvent from './src/SweepEvent';

import {intersectSegments, EPS, angle, samePoint} from './geom';
import {intersectSegments, EPS, angle, samePoint} from './src/geom';

/**
* A point on a line
Expand Down

0 comments on commit ceeb048

Please sign in to comment.