version bump 1.3.1: prevent browserify require
Addresses js-xlsx GH issue 76
This commit is contained in:
parent
9e792fd4de
commit
883b83265a
4
Makefile
4
Makefile
@ -33,6 +33,10 @@ lint:
|
||||
jshint --show-non-errors $(TARGETS)
|
||||
jscs $(TARGETS)
|
||||
|
||||
.PHONY: ctest
|
||||
ctest:
|
||||
bash ctest/fixtures.sh
|
||||
|
||||
.PHONY: cov cov-spin
|
||||
cov: misc/coverage.html
|
||||
cov-spin:
|
||||
|
@ -712,7 +712,7 @@ describe('failures', function() {
|
||||
```json>package.json
|
||||
{
|
||||
"name": "codepage",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"author": "SheetJS",
|
||||
"description": "pure-JS library to handle codepages",
|
||||
"keywords": [ "codepage", "iconv", "convert", "strings" ],
|
||||
|
@ -4,7 +4,7 @@
|
||||
"use strict";
|
||||
if(typeof cptable === "undefined") {
|
||||
if(typeof require !== "undefined"){
|
||||
var cpt = require('./cptable');
|
||||
var cpt = require('./cpt' + 'able');
|
||||
if (typeof module !== 'undefined' && module.exports) module.exports = factory(cpt);
|
||||
else root.cptable = factory(cpt);
|
||||
} else throw new Error("cptable not found");
|
||||
|
2
dist/cpexcel.full.js
vendored
2
dist/cpexcel.full.js
vendored
@ -802,7 +802,7 @@ if (typeof module !== 'undefined' && module.exports) module.exports = cptable;
|
||||
"use strict";
|
||||
if(typeof cptable === "undefined") {
|
||||
if(typeof require !== "undefined"){
|
||||
var cpt = require('./cptable');
|
||||
var cpt = require('./cpt' + 'able');
|
||||
if (typeof module !== 'undefined' && module.exports) module.exports = factory(cpt);
|
||||
else root.cptable = factory(cpt);
|
||||
} else throw new Error("cptable not found");
|
||||
|
2
dist/cptable.full.js
vendored
2
dist/cptable.full.js
vendored
@ -6342,7 +6342,7 @@ if (typeof module !== 'undefined' && module.exports) module.exports = cptable;
|
||||
"use strict";
|
||||
if(typeof cptable === "undefined") {
|
||||
if(typeof require !== "undefined"){
|
||||
var cpt = require('./cptable');
|
||||
var cpt = require('./cpt' + 'able');
|
||||
if (typeof module !== 'undefined' && module.exports) module.exports = factory(cpt);
|
||||
else root.cptable = factory(cpt);
|
||||
} else throw new Error("cptable not found");
|
||||
|
2
dist/cputils.js
vendored
2
dist/cputils.js
vendored
@ -4,7 +4,7 @@
|
||||
"use strict";
|
||||
if(typeof cptable === "undefined") {
|
||||
if(typeof require !== "undefined"){
|
||||
var cpt = require('./cptable');
|
||||
var cpt = require('./cpt' + 'able');
|
||||
if (typeof module !== 'undefined' && module.exports) module.exports = factory(cpt);
|
||||
else root.cptable = factory(cpt);
|
||||
} else throw new Error("cptable not found");
|
||||
|
2
dist/sbcs.full.js
vendored
2
dist/sbcs.full.js
vendored
@ -106,7 +106,7 @@ if (typeof module !== 'undefined' && module.exports) module.exports = cptable;
|
||||
"use strict";
|
||||
if(typeof cptable === "undefined") {
|
||||
if(typeof require !== "undefined"){
|
||||
var cpt = require('./cptable');
|
||||
var cpt = require('./cpt' + 'able');
|
||||
if (typeof module !== 'undefined' && module.exports) module.exports = factory(cpt);
|
||||
else root.cptable = factory(cpt);
|
||||
} else throw new Error("cptable not found");
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "codepage",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"author": "SheetJS",
|
||||
"description": "pure-JS library to handle codepages",
|
||||
"keywords": [ "codepage", "iconv", "convert", "strings" ],
|
||||
|
Loading…
Reference in New Issue
Block a user