Needs to add a dependency in bower.json ? #165

Closed
opened 2015-01-26 12:24:41 +00:00 by vincentcialdella · 0 comments
vincentcialdella commented 2015-01-26 12:24:41 +00:00 (Migrated from github.com)

Hi,

I need to specifiy the url of jszip.js file in dist folder else I have this error: undefined is not a function
It concerns line 5093 of xslx.js file: jszip is undefined.

If I add a dependecy , this is working.

As this file seems to be a mandatory dependency, should not you update bower.json file like this :

{
"name": "js-xlsx",
"homepage": "https://github.com/SheetJS/js-xlsx",
"main": ["dist/jszip.js","dist/xlsx.js"],
"version": "0.7.11",
"ignore": [
"bin",
"bits",
"misc",
"*/."
],
"keywords": [
"excel",
"xlsx",
"xlsm",
"xlsb",
"ods",
"js-xlsx"
]
}

Thank you for your answer.

Hi, I need to specifiy the url of jszip.js file in dist folder else I have this error: undefined is not a function It concerns line 5093 of xslx.js file: jszip is undefined. If I add a dependecy <script src="bower_components/js-xlsx/dist/jszip.js"></script>, this is working. As this file seems to be a mandatory dependency, should not you update bower.json file like this : { "name": "js-xlsx", "homepage": "https://github.com/SheetJS/js-xlsx", "main": ["dist/jszip.js","dist/xlsx.js"], "version": "0.7.11", "ignore": [ "bin", "bits", "misc", "*_/._" ], "keywords": [ "excel", "xlsx", "xlsm", "xlsb", "ods", "js-xlsx" ] } Thank you for your answer.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#165
No description provided.