Skip to content

Commit

Permalink
Bump version, update CHANGES, bundle as 1.1.153
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Feb 11, 2017
1 parent 2874397 commit dd645cb
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
Summary of changes to citeproc-js since version 1.0.0 release.

==========================
Changes in version 1.1.153
==========================

- Permit abbreviation loading via a getAbbreviation() function
that does not return a value. Should now be backward-compatible.

==========================
Changes in version 1.1.152
==========================
Expand Down
9 changes: 6 additions & 3 deletions citeproc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* <http://www.gnu.org/licenses/> respectively.
*/
var CSL = {
PROCESSOR_VERSION: "1.1.152",
PROCESSOR_VERSION: "1.1.153",
CONDITION_LEVEL_TOP: 1,
CONDITION_LEVEL_BOTTOM: 2,
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
Expand Down Expand Up @@ -12359,9 +12359,12 @@ CSL.Transform = function (state) {
return jurisdiction;
}
if (state.sys.getAbbreviation) {
return state.sys.getAbbreviation(state.opt.styleID, state.transform.abbrevs, jurisdiction, category, orig, itemType, true);
jurisdiction = state.sys.getAbbreviation(state.opt.styleID, state.transform.abbrevs, jurisdiction, category, orig, itemType, true);
if (!jurisdiction) {
jurisdiction = "default";
}
}
return "default";
return jurisdiction;
}
this.loadAbbreviation = loadAbbreviation;
function publisherCheck (tok, Item, primary, myabbrev_family) {
Expand Down
9 changes: 6 additions & 3 deletions citeproc_with_e4x.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* <http://www.gnu.org/licenses/> respectively.
*/
var CSL = {
PROCESSOR_VERSION: "1.1.152",
PROCESSOR_VERSION: "1.1.153",
CONDITION_LEVEL_TOP: 1,
CONDITION_LEVEL_BOTTOM: 2,
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
Expand Down Expand Up @@ -12360,9 +12360,12 @@ CSL.Transform = function (state) {
return jurisdiction;
}
if (state.sys.getAbbreviation) {
return state.sys.getAbbreviation(state.opt.styleID, state.transform.abbrevs, jurisdiction, category, orig, itemType, true);
jurisdiction = state.sys.getAbbreviation(state.opt.styleID, state.transform.abbrevs, jurisdiction, category, orig, itemType, true);
if (!jurisdiction) {
jurisdiction = "default";
}
}
return "default";
return jurisdiction;
}
this.loadAbbreviation = loadAbbreviation;
function publisherCheck (tok, Item, primary, myabbrev_family) {
Expand Down
2 changes: 1 addition & 1 deletion src/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

var CSL = {

PROCESSOR_VERSION: "1.1.152",
PROCESSOR_VERSION: "1.1.153",

CONDITION_LEVEL_TOP: 1,

Expand Down

0 comments on commit dd645cb

Please sign in to comment.