Skip to content

Commit

Permalink
commit dist files for 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hdngr committed Nov 4, 2014
1 parent 7bb9bce commit 8a28bc8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 78 deletions.
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<script type="text/javascript">
var config = {
dataSource: "sample_data/contrib.json",
curvedEdges: true
// curvedEdges: true
}

var alchemy = new Alchemy(config)
Expand Down
3 changes: 1 addition & 2 deletions dist/alchemy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/alchemy.min.js

Large diffs are not rendered by default.

71 changes: 0 additions & 71 deletions npm-debug.log

This file was deleted.

5 changes: 2 additions & 3 deletions site/app/docs/_documentation/Annotated-Source.md
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ title: Anotated Source
if not @_zoomBehavior?
@_zoomBehavior = d3.behavior.zoom()
@_zoomBehavior.scaleExtent extent
.on "zoom", (d)->
.on "zoom", (d) ->
a = Alchemy::getInst this
a.vis.attr("transform", "translate(#{ d3.event.translate })
scale(#{ d3.event.scale })" )
Expand Down Expand Up @@ -1311,7 +1311,7 @@ title: Anotated Source
.attr "pointer-events", "all"
.attr "shape-rendering", "optimizeSpeed"
.attr "style", "background:#{conf.backgroundColour};"
.attr "alchInst", (d)-> Alchemy::instances.length
.attr "alchInst", (d) -> Alchemy::instances.length - 1
.on 'click', a.interactions.deselectAll
.call a.interactions.zoom(conf.scaleExtent)
.on "dblclick.zoom", null
Expand Down Expand Up @@ -2196,7 +2196,6 @@ for the curve of the node.
Math.atan2(height, width) / Math.PI * 180
captionAngle: (angle) ->
debugger
if angle < -90 or angle > 90
180
else
Expand Down

0 comments on commit 8a28bc8

Please sign in to comment.