@@ -218,7 +218,9 @@ var _ = require("../lodash"),
218218module . exports = findCycles ;
219219
220220function findCycles ( g ) {
221- return _ . filter ( tarjan ( g ) , function ( cmpt ) { return cmpt . length > 1 ; } ) ;
221+ return _ . filter ( tarjan ( g ) , function ( cmpt ) {
222+ return cmpt . length > 1 || ( cmpt . length === 1 && g . hasEdge ( cmpt [ 0 ] , cmpt [ 0 ] ) ) ;
223+ } ) ;
222224}
223225
224226} , { "../lodash" :20 , "./tarjan" :14 } ] , 8 :[ function ( require , module , exports ) {
@@ -1181,18 +1183,18 @@ if (!lodash) {
11811183module . exports = lodash ;
11821184
11831185} , { "lodash" :22 } ] , 21 :[ function ( require , module , exports ) {
1184- module . exports = '1.0.3 ' ;
1186+ module . exports = '1.0.4 ' ;
11851187
11861188} , { } ] , 22 :[ function ( require , module , exports ) {
11871189( function ( global ) {
11881190/**
11891191 * @license
1190- * Lo-Dash 2.4.1 (Custom Build) <http ://lodash.com/>
1192+ * Lo-Dash 2.4.2 (Custom Build) <https ://lodash.com/>
11911193 * Build: `lodash modern -o ./dist/lodash.js`
11921194 * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
11931195 * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
11941196 * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
1195- * Available under MIT license <http ://lodash.com/license>
1197+ * Available under MIT license <https ://lodash.com/license>
11961198 */
11971199; ( function ( ) {
11981200
@@ -2681,6 +2683,7 @@ module.exports = '1.0.3';
26812683 var setBindData = ! defineProperty ? noop : function ( func , value ) {
26822684 descriptor . value = value ;
26832685 defineProperty ( func , '__bindData__' , descriptor ) ;
2686+ descriptor . value = null ;
26842687 } ;
26852688
26862689 /**
@@ -7326,7 +7329,7 @@ module.exports = '1.0.3';
73267329 * debugging. See http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl
73277330 *
73287331 * For more information on precompiling templates see:
7329- * http ://lodash.com/custom-builds
7332+ * https ://lodash.com/custom-builds
73307333 *
73317334 * For more information on Chrome extension sandboxes see:
73327335 * http://developer.chrome.com/stable/extensions/sandboxingEval.html
@@ -7895,7 +7898,7 @@ module.exports = '1.0.3';
78957898 * @memberOf _
78967899 * @type string
78977900 */
7898- lodash . VERSION = '2.4.1 ' ;
7901+ lodash . VERSION = '2.4.2 ' ;
78997902
79007903 // add "Chaining" functions to the wrapper
79017904 lodash . prototype . chain = wrapperChain ;
0 commit comments