Skip to content

Commit

Permalink
Cleaning up...
Browse files Browse the repository at this point in the history
  • Loading branch information
KeeTraxx committed Sep 23, 2015
1 parent 3a9cad0 commit f44289c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 42 deletions.
Binary file removed export.xlsx
Binary file not shown.
6 changes: 3 additions & 3 deletions lib/kexcel.js → lib/Workbook.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var temp = require('temp');
var XMLFile = require('./XMLFile');
var Sheet = require('./Sheet');

function kexcel(file, callback) {
function Workbook(file, callback) {
var self = this;
var files = [];
var sheets = [];
Expand Down Expand Up @@ -149,9 +149,9 @@ function kexcel(file, callback) {
}

exports.open = function (file, callback) {
return new kexcel(file, callback);
return new Workbook(file, callback);
};

exports.new = function (callback) {
return new kexcel(path.join(__dirname, '..', 'templates', 'empty.xlsx'), callback);
return new Workbook(path.join(__dirname, '..', 'templates', 'empty.xlsx'), callback);
};
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,14 @@
"chai": "~1.10.0",
"coveralls": "^2.11.3",
"express": "~4.11.0",
"grunt": "~0.4.5",
"grunt-mocha-test": "~0.12.6",
"mocha": "~2.1.0",
"mocha-lcov-reporter": "0.0.2",
"request": "~2.51.0"
},
"scripts": {
"test": "mocha --require blanket --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js"
},
"main": "lib/kexcel.js",
"main": "lib/Workbook.js",
"repository": {
"type": "git",
"url": "https://github.com/KeeTraxx/kexcel"
Expand Down
36 changes: 0 additions & 36 deletions tests/test.js

This file was deleted.

0 comments on commit f44289c

Please sign in to comment.