Skip to content

Commit

Permalink
Prep v1.0.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cpettitt committed May 22, 2015
1 parent 88e11a8 commit 394e540
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 16 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.3",
"version": "1.0.4",
"main": [
"dist/graphlib.core.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 @@ -218,7 +218,9 @@ var _ = require("../lodash"),
module.exports = findCycles;

function findCycles(g) {
return _.filter(tarjan(g), function(cmpt) { return cmpt.length > 1; });
return _.filter(tarjan(g), function(cmpt) {
return cmpt.length > 1 || (cmpt.length === 1 && g.hasEdge(cmpt[0], cmpt[0]));
});
}

},{"../lodash":20,"./tarjan":14}],8:[function(require,module,exports){
Expand Down Expand Up @@ -1181,6 +1183,6 @@ if (!lodash) {
module.exports = lodash;

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

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

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions dist/graphlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ var _ = require("../lodash"),
module.exports = findCycles;

function findCycles(g) {
return _.filter(tarjan(g), function(cmpt) { return cmpt.length > 1; });
return _.filter(tarjan(g), function(cmpt) {
return cmpt.length > 1 || (cmpt.length === 1 && g.hasEdge(cmpt[0], cmpt[0]));
});
}

},{"../lodash":20,"./tarjan":14}],8:[function(require,module,exports){
Expand Down Expand Up @@ -1181,18 +1183,18 @@ if (!lodash) {
module.exports = lodash;

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

},{}],22:[function(require,module,exports){
(function (global){
/**
* @license
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Lo-Dash 2.4.2 (Custom Build) <https://lodash.com/>
* Build: `lodash modern -o ./dist/lodash.js`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <http://lodash.com/license>
* Available under MIT license <https://lodash.com/license>
*/
;(function() {

Expand Down Expand Up @@ -2681,6 +2683,7 @@ module.exports = '1.0.3';
var setBindData = !defineProperty ? noop : function(func, value) {
descriptor.value = value;
defineProperty(func, '__bindData__', descriptor);
descriptor.value = null;
};

/**
Expand Down Expand Up @@ -7326,7 +7329,7 @@ module.exports = '1.0.3';
* debugging. See http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl
*
* For more information on precompiling templates see:
* http://lodash.com/custom-builds
* https://lodash.com/custom-builds
*
* For more information on Chrome extension sandboxes see:
* http://developer.chrome.com/stable/extensions/sandboxingEval.html
Expand Down Expand Up @@ -7895,7 +7898,7 @@ module.exports = '1.0.3';
* @memberOf _
* @type string
*/
lodash.VERSION = '2.4.1';
lodash.VERSION = '2.4.2';

// add "Chaining" functions to the wrapper
lodash.prototype.chain = wrapperChain;
Expand Down
6 changes: 3 additions & 3 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.4-pre';
module.exports = '1.0.4';
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.4-pre",
"version": "1.0.4",
"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 394e540

Please sign in to comment.