Skip to content

Commit

Permalink
Release v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cheminfo-bot committed Aug 30, 2016
1 parent 46b538e commit 6657fd2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions dist/chem-equilibrium.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ return /******/ (function(modules) { // webpackBootstrap

Equilibrium.Factory = Factory;

module.exports = Equilibrium;

/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {
Expand Down Expand Up @@ -6413,6 +6415,22 @@ return /******/ (function(modules) { // webpackBootstrap
}
this._hasChanged = false;
}
}], [{
key: 'getSpecieLabels',
value: function getSpecieLabels(type) {
var labels = new Set();
var keys = Object.keys(equations);
for (var i = 0; i < keys.length; i++) {
var eq = equations[keys[i]];
if (!type || eq.type === type) {
labels.add(keys[i]);
for (var key in eq.components) {
labels.add(key);
}
}
}
return Array.from(labels);
}
}]);

return Helper;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chem-equilibrium",
"version": "2.0.0",
"version": "2.1.0",
"description": "Compute chemical equilibrium",
"keywords": [],
"files": [
Expand Down

0 comments on commit 6657fd2

Please sign in to comment.