From 883b83265a4d9f55223d6fc56eba1ad43e000798 Mon Sep 17 00:00:00 2001 From: SheetJS Date: Fri, 27 Jun 2014 09:43:31 -0400 Subject: [PATCH] version bump 1.3.1: prevent browserify require Addresses js-xlsx GH issue 76 --- Makefile | 4 ++++ codepage.md | 2 +- cputils.js | 2 +- dist/cpexcel.full.js | 2 +- dist/cptable.full.js | 2 +- dist/cputils.js | 2 +- dist/sbcs.full.js | 2 +- package.json | 2 +- 8 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index a281c2e..c08edfe 100644 --- a/Makefile +++ b/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: diff --git a/codepage.md b/codepage.md index 6588656..a9ab55c 100644 --- a/codepage.md +++ b/codepage.md @@ -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" ], diff --git a/cputils.js b/cputils.js index 0f434a3..435d8b4 100644 --- a/cputils.js +++ b/cputils.js @@ -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"); diff --git a/dist/cpexcel.full.js b/dist/cpexcel.full.js index dc922a6..312a90e 100644 --- a/dist/cpexcel.full.js +++ b/dist/cpexcel.full.js @@ -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"); diff --git a/dist/cptable.full.js b/dist/cptable.full.js index 2cb38f2..bc4543d 100644 --- a/dist/cptable.full.js +++ b/dist/cptable.full.js @@ -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"); diff --git a/dist/cputils.js b/dist/cputils.js index 0f434a3..435d8b4 100644 --- a/dist/cputils.js +++ b/dist/cputils.js @@ -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"); diff --git a/dist/sbcs.full.js b/dist/sbcs.full.js index b1ffa26..8bf1768 100644 --- a/dist/sbcs.full.js +++ b/dist/sbcs.full.js @@ -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"); diff --git a/package.json b/package.json index cafde92..5eb9fa6 100644 --- a/package.json +++ b/package.json @@ -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" ],