Skip to content

Commit 8a28bc8

Browse files
author
hdngr
committed
commit dist files for 0.4.0
1 parent 7bb9bce commit 8a28bc8

5 files changed

Lines changed: 5 additions & 78 deletions

File tree

app/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<script type="text/javascript">
4242
var config = {
4343
dataSource: "sample_data/contrib.json",
44-
curvedEdges: true
44+
// curvedEdges: true
4545
}
4646

4747
var alchemy = new Alchemy(config)

dist/alchemy.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/alchemy.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm-debug.log

Lines changed: 0 additions & 71 deletions
This file was deleted.

site/app/docs/_documentation/Annotated-Source.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ title: Anotated Source
971971
if not @_zoomBehavior?
972972
@_zoomBehavior = d3.behavior.zoom()
973973
@_zoomBehavior.scaleExtent extent
974-
.on "zoom", (d)->
974+
.on "zoom", (d) ->
975975
a = Alchemy::getInst this
976976
a.vis.attr("transform", "translate(#{ d3.event.translate })
977977
scale(#{ d3.event.scale })" )
@@ -1311,7 +1311,7 @@ title: Anotated Source
13111311
.attr "pointer-events", "all"
13121312
.attr "shape-rendering", "optimizeSpeed"
13131313
.attr "style", "background:#{conf.backgroundColour};"
1314-
.attr "alchInst", (d)-> Alchemy::instances.length
1314+
.attr "alchInst", (d) -> Alchemy::instances.length - 1
13151315
.on 'click', a.interactions.deselectAll
13161316
.call a.interactions.zoom(conf.scaleExtent)
13171317
.on "dblclick.zoom", null
@@ -2196,7 +2196,6 @@ for the curve of the node.
21962196
Math.atan2(height, width) / Math.PI * 180
21972197
21982198
captionAngle: (angle) ->
2199-
debugger
22002199
if angle < -90 or angle > 90
22012200
180
22022201
else

0 commit comments

Comments
 (0)