Skip to content

Commit

Permalink
move rbush.js to index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Jun 29, 2016
1 parent a4bdf4e commit 1fbfc0f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bench/perf.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var bboxes100 = genData(1000, 100 * Math.sqrt(0.1));
var bboxes10 = genData(1000, 10);
var bboxes1 = genData(1000, 1);

var rbush = typeof require !== 'undefined' ? require('../rbush.js') : rbush;
var rbush = typeof require !== 'undefined' ? require('..') : rbush;

var tree = rbush(maxFill);

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"author": "Vladimir Agafonkin",
"license": "MIT",
"main": "rbush.js",
"main": "index.js",
"devDependencies": {
"benchmark": "^2.1.0",
"eslint": "^2.10.2",
Expand All @@ -27,7 +27,7 @@
"tape": "^4.5.1"
},
"scripts": {
"test": "eslint rbush.js test/test.js && node test/test.js | faucet",
"test": "eslint index.js test/test.js && node test/test.js | faucet",
"perf": "node ./debug/perf.js",
"cov": "istanbul cover test/test.js -x test/test.js"
},
Expand Down
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

/*eslint key-spacing: 0, comma-spacing: 0, quotes: 0*/
/*eslint key-spacing: 0, comma-spacing: 0 */

var rbush = require('../rbush.js'),
var rbush = require('..'),
t = require('tape');

function sortedEqual(t, a, b, compare) {
Expand Down

0 comments on commit 1fbfc0f

Please sign in to comment.