Skip to content

Commit

Permalink
Bump version, update CHANGES, bundle as 1.1.144
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Jan 7, 2017
1 parent 4dcbf0c commit e9d3f5a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGES.txt
@@ -1,5 +1,12 @@
Summary of changes to citeproc-js since version 1.0.0 release.

==========================
Changes in version 1.1.144
==========================

- Use a CSL logging method, not "print," to report
a fatal error in XML parsing.

==========================
Changes in version 1.1.143
==========================
Expand Down
6 changes: 3 additions & 3 deletions citeproc.js
Expand Up @@ -23,7 +23,7 @@
* <http://www.gnu.org/licenses/> respectively.
*/
var CSL = {
PROCESSOR_VERSION: "1.1.143",
PROCESSOR_VERSION: "1.1.144",
CONDITION_LEVEL_TOP: 1,
CONDITION_LEVEL_BOTTOM: 2,
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
Expand Down Expand Up @@ -1784,10 +1784,10 @@ CSL.setupXml = function(xmlObject) {
parser = new CSL.XmlJSON(xmlObject);
}
} else {
print("OUCH!");
CSL.error("unable to parse XML input");
}
if (!parser) {
throw "citeproc-js error: unable to parse style or locale object";
throw "citeproc-js error: unable to parse CSL style or locale object";
}
return parser;
}
Expand Down
6 changes: 3 additions & 3 deletions citeproc_with_e4x.js
Expand Up @@ -23,7 +23,7 @@
* <http://www.gnu.org/licenses/> respectively.
*/
var CSL = {
PROCESSOR_VERSION: "1.1.143",
PROCESSOR_VERSION: "1.1.144",
CONDITION_LEVEL_TOP: 1,
CONDITION_LEVEL_BOTTOM: 2,
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
Expand Down Expand Up @@ -1785,10 +1785,10 @@ CSL.setupXml = function(xmlObject) {
parser = new CSL.XmlJSON(xmlObject);
}
} else {
print("OUCH!");
CSL.error("unable to parse XML input");
}
if (!parser) {
throw "citeproc-js error: unable to parse style or locale object";
throw "citeproc-js error: unable to parse CSL style or locale object";
}
return parser;
}
Expand Down
2 changes: 1 addition & 1 deletion src/load.js
Expand Up @@ -33,7 +33,7 @@

var CSL = {

PROCESSOR_VERSION: "1.1.143",
PROCESSOR_VERSION: "1.1.144",

CONDITION_LEVEL_TOP: 1,

Expand Down

0 comments on commit e9d3f5a

Please sign in to comment.