forked from sheetjs/sheetjs
Demos updated broken links [ci skip]
This commit is contained in:
parent
7972d537e5
commit
4257878cf6
demos
@ -5,7 +5,7 @@ with other JS libraries such as data grids for previewing data. After extensive
|
|||||||
testing, [`canvas-datagrid`](https://tonygermaneri.github.io/canvas-datagrid/)
|
testing, [`canvas-datagrid`](https://tonygermaneri.github.io/canvas-datagrid/)
|
||||||
stood out as a very high-performance grid with an incredibly simple API.
|
stood out as a very high-performance grid with an incredibly simple API.
|
||||||
|
|
||||||
This demo is available at <http://oss.sheetjs.com/js-xlsx/datagrid.html>
|
This demo is available at <http://oss.sheetjs.com/sheetjs/datagrid.html>
|
||||||
|
|
||||||
## Obtaining the Library
|
## Obtaining the Library
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ the webpage. The `dist` versions are suitable for web pages.
|
|||||||
This was tested in wkhtmltopdf 0.12.4, installed using the official binaries:
|
This was tested in wkhtmltopdf 0.12.4, installed using the official binaries:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ wkhtmltopdf --javascript-delay 20000 http://oss.sheetjs.com/js-xlsx/tests/ test.pdf
|
$ wkhtmltopdf --javascript-delay 20000 http://oss.sheetjs.com/sheetjs/tests/ test.pdf
|
||||||
```
|
```
|
||||||
|
|
||||||
## SlimerJS
|
## SlimerJS
|
||||||
|
@ -3,7 +3,7 @@ var fs = require('fs');
|
|||||||
var xlsx = require('../../xlsx');
|
var xlsx = require('../../xlsx');
|
||||||
var page = require('webpage').create();
|
var page = require('webpage').create();
|
||||||
|
|
||||||
page.open('http://oss.sheetjs.com/js-xlsx/tests/', function(status) {
|
page.open('http://oss.sheetjs.com/sheetjs/tests/', function(status) {
|
||||||
|
|
||||||
var data = fs.read('sheetjs.xlsx', {mode: 'rb', charset: 'utf8'});
|
var data = fs.read('sheetjs.xlsx', {mode: 'rb', charset: 'utf8'});
|
||||||
var workbook = xlsx.read(data, {type: 'binary'});
|
var workbook = xlsx.read(data, {type: 'binary'});
|
||||||
|
@ -5,7 +5,7 @@ const puppeteer = require('puppeteer');
|
|||||||
|
|
||||||
const browser = await puppeteer.launch();
|
const browser = await puppeteer.launch();
|
||||||
const page = await browser.newPage();
|
const page = await browser.newPage();
|
||||||
await page.goto('http://oss.sheetjs.com/js-xlsx/tests/', {waitUntil: 'load'});
|
await page.goto('http://oss.sheetjs.com/sheetjs/tests/', {waitUntil: 'load'});
|
||||||
await page.waitFor(30*1000);
|
await page.waitFor(30*1000);
|
||||||
await page.pdf({path: 'test.pdf', format: 'A4'});
|
await page.pdf({path: 'test.pdf', format: 'A4'});
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ var fs = require('fs');
|
|||||||
var xlsx = require('../../dist/xlsx.full.min');
|
var xlsx = require('../../dist/xlsx.full.min');
|
||||||
var page = require('webpage').create();
|
var page = require('webpage').create();
|
||||||
|
|
||||||
page.open('http://oss.sheetjs.com/js-xlsx/tests/', function(status) {
|
page.open('http://oss.sheetjs.com/sheetjs/tests/', function(status) {
|
||||||
|
|
||||||
var data = fs.read('sheetjs.xlsx', {mode: 'rb', charset: 'utf8'});
|
var data = fs.read('sheetjs.xlsx', {mode: 'rb', charset: 'utf8'});
|
||||||
var workbook = xlsx.read(data, {type: 'binary'});
|
var workbook = xlsx.read(data, {type: 'binary'});
|
||||||
|
@ -7,7 +7,7 @@ The demonstration uses NW.js 0.24 with the dist script.
|
|||||||
|
|
||||||
The standard HTML5 `FileReader` techniques from the browser apply to NW.js!
|
The standard HTML5 `FileReader` techniques from the browser apply to NW.js!
|
||||||
This demo includes a drag-and-drop box as well as a file input box, mirroring
|
This demo includes a drag-and-drop box as well as a file input box, mirroring
|
||||||
the [SheetJS Data Preview Live Demo](http://oss.sheetjs.com/js-xlsx/).
|
the [SheetJS Data Preview Live Demo](https://oss.sheetjs.com/sheetjs/).
|
||||||
|
|
||||||
## Writing data
|
## Writing data
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user