Skip to content

Commit

Permalink
Prep v1.0.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cpettitt committed May 15, 2015
1 parent 505be2a commit e47820d
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphlib",
"version": "1.0.1",
"version": "1.0.2",
"main": [
"dist/graphlib.core.js",
"dist/graphlib.core.min.js"
Expand Down
6 changes: 4 additions & 2 deletions dist/graphlib.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,8 @@ Graph.prototype.setParent = function(v, parent) {
if (_.isUndefined(parent)) {
parent = GRAPH_NODE;
} else {
// Coerce parent to string
parent += "";
for (var ancestor = parent;
!_.isUndefined(ancestor);
ancestor = this.parent(ancestor)) {
Expand Down Expand Up @@ -1166,7 +1168,7 @@ function read(json) {

var lodash;

if (require) {
if (typeof require === "function") {
try {
lodash = require("lodash");
} catch (e) {}
Expand All @@ -1179,6 +1181,6 @@ if (!lodash) {
module.exports = lodash;

},{"lodash":undefined}],21:[function(require,module,exports){
module.exports = '1.0.1';
module.exports = '1.0.2';

},{}]},{},[1]);
2 changes: 1 addition & 1 deletion dist/graphlib.core.min.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/graphlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,8 @@ Graph.prototype.setParent = function(v, parent) {
if (_.isUndefined(parent)) {
parent = GRAPH_NODE;
} else {
// Coerce parent to string
parent += "";
for (var ancestor = parent;
!_.isUndefined(ancestor);
ancestor = this.parent(ancestor)) {
Expand Down Expand Up @@ -1166,7 +1168,7 @@ function read(json) {

var lodash;

if (require) {
if (typeof require === "function") {
try {
lodash = require("lodash");
} catch (e) {}
Expand All @@ -1179,7 +1181,7 @@ if (!lodash) {
module.exports = lodash;

},{"lodash":22}],21:[function(require,module,exports){
module.exports = '1.0.1';
module.exports = '1.0.2';

},{}],22:[function(require,module,exports){
(function (global){
Expand Down
4 changes: 2 additions & 2 deletions dist/graphlib.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = '1.0.2-pre';
module.exports = '1.0.2';
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphlib",
"version": "1.0.2-pre",
"version": "1.0.2",
"description": "A directed and undirected multi-graph library",
"author": "Chris Pettitt <cpettitt@gmail.com>",
"main": "index.js",
Expand Down Expand Up @@ -35,4 +35,4 @@
"url": "https://github.com/cpettitt/graphlib.git"
},
"license": "MIT"
}
}

0 comments on commit e47820d

Please sign in to comment.