Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion angular-js-xlsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ angular.module('angular-js-xlsx', [])

/* if binary string, read with type 'binary' */
try {
var workbook = XLS.read(data, { type: 'binary' });
var workbook = XLSX.read(data, { type: 'binary' });

if (attrs.onread) {
var handleRead = scope[attrs.onread];
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-js-xlsx",
"version": "0.0.2",
"version": "0.0.4",
"homepage": "https://github.com/brexis/angular-js-xlsx",
"authors": [
"Boris KOUMONDJI <brexis2009@yahoo.fr>"
Expand All @@ -19,7 +19,7 @@
"tests"
],
"dependencies": {
"js-xlsx": "~0.8.0",
"js-xlsx": "^0.18.2",
"angular": "~1.4.8"
},
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-js-xlsx",
"version": "0.0.3",
"version": "0.0.4",
"description": "An angular directive to read XLSX / XLSM / XLSB / XLS / SpreadsheetML (Excel Spreadsheet)",
"main": "angular-js-xlsx.js",
"scripts": {
Expand Down Expand Up @@ -29,8 +29,8 @@
"url": "https://github.com/brexis/angular-js-xlsx/issues"
},
"dependencies": {
"xlsx":"~0.8.0",
"angular":"~1.4.8"
"xlsx": "~0.8.0",
"angular": "~1.4.8"
},
"homepage": "https://github.com/brexis/angular-js-xlsx#readme"
}