Skip to content

Commit

Permalink
jExcel npm updates
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhodel authored and paulhodel committed Jun 29, 2019
1 parent 4c8361f commit 6d45808
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 24 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -37,9 +37,9 @@ A basic example to integrate the javascript spreadsheet in your website to creat

```html
<script src="https://bossanova.uk/jexcel/v3/jexcel.js"></script>
<script src="https://bossanova.uk/jsuites/v2/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v2/jsuites.css" type="text/css" />
<link rel="stylesheet" href="https://bossanova.uk/jexcel/v3/jexcel.css" type="text/css" />
<script src="https://bossanova.uk/jtools/v2/jexcel.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jtools/v2/jexcel.css" type="text/css" />
```

You should initiate your table based on a div container, such as:
Expand Down Expand Up @@ -209,4 +209,4 @@ Big improviments are included, such as:
jExcel is released under the [MIT license]. Copyrights belong to Paul Hodel <paul.hodel@gmail.com>

## Other tools by the author
- [Jtools Vanilla Web Components](https://bossanova.uk/jtools)
- [Jtools Vanilla Web Components](https://bossanova.uk/jsuites)
11 changes: 0 additions & 11 deletions composer.json

This file was deleted.

2 changes: 1 addition & 1 deletion dist/jexcel.css
@@ -1,5 +1,5 @@
/**
* (c) jExcel v3.2.0
* (c) jExcel v3.2.5
*
* Author: Paul Hodel <paul.hodel@gmail.com>
* Website: https://bossanova.uk/jexcel/
Expand Down
20 changes: 14 additions & 6 deletions dist/jexcel.js
@@ -1,12 +1,20 @@
/**
* (c) jExcel v3.2.0
* (c) jExcel v3.2.5
*
* Author: Paul Hodel <paul.hodel@gmail.com>
* Website: https://bossanova.uk/jexcel/
* Description: Create amazing web based spreadsheets.
*
* This software is distribute under MIT License
*/

'use strict';

if (! jSuites && require) {
var jSuites = require('jsuites');
require('jsuites/dist/jsuites.css');
}

var jexcel = (function(el, options) {
// Create jexcel object
var obj = {};
Expand Down Expand Up @@ -6689,7 +6697,7 @@ jexcel.fromSpreadsheet = function(file, __callback) {
// Based on sutoiku work (https://github.com/sutoiku)

var error = (function() {
exports = {};
var exports = {};

exports.nil = new Error('#NULL!');
exports.div0 = new Error('#DIV/0!');
Expand All @@ -6705,7 +6713,7 @@ var error = (function() {
})();

var utils = (function() {
exports = {};
var exports = {};

exports.flattenShallow = function(array) {
if (!array || !array.reduce) {
Expand Down Expand Up @@ -11554,9 +11562,9 @@ jexcel.methods.text = (function() {
return text.replace(/ +/g, ' ').trim();
};

exports.UNICHAR = this.CHAR;
exports.UNICHAR = exports.CHAR;

exports.UNICODE = this.CODE;
exports.UNICODE = exports.CODE;

exports.UPPER = function(text) {
if (typeof text !== 'string') {
Expand Down Expand Up @@ -12234,6 +12242,6 @@ for (var i = 0; i < Object.keys(jexcel.methods).length; i++) {
}
}

if (typeof module === 'object') {
if (typeof exports === 'object' && typeof module !== 'undefined') {
module.exports = jexcel;
}
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -35,12 +35,12 @@
"data-spreadsheet"
],
"dependencies": {
"jsuites": "paulhodel/jsuites"
"jsuites": "^2.1.0"
},
"main": "dist/jexcel.js",
"version": "3.2.1",
"version": "3.2.4",
"bugs": "https://github.com/paulhodel/jexcel/issues",
"homepage": "https://github.com/paulhodel/jexcel",
"docs": "https://bossanova.uk/jexcel",
"download": "https://github.com/paulhodel/jexcel/archive/master.zip"
}
}

0 comments on commit 6d45808

Please sign in to comment.