Permalink
Browse files

updated to new d3 and removed code that goes into a polyfill

  • Loading branch information...
1 parent 6dab7b6 commit af877fc540c5748ef7c5ad750db4ef9c2e734c53 @vogievetsky committed Aug 15, 2012
View
9,342 d3/d3.js

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
7,061 d3/d3.v2.js

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -2,7 +2,7 @@
<html>
<head>
<title>DVL Brushing + Linking</title>
- <script src="../../d3/d3.js"></script>
+ <script src="../../d3/d3.v2.js"></script>
<script src="../../dvl.js"></script>
<script src="gendata.js"></script>
@@ -5,7 +5,7 @@
<link type="text/css" href="../../css/smoothness/jquery-ui-1.8.7.custom.css" rel="Stylesheet" />
<script type="text/javascript" src="../../js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../../js/jquery-ui-1.8.7.custom.js"></script>
- <script type="text/javascript" src="../../d3.js"></script>
+ <script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../protovis-r3.2.js"></script>
<script type="text/javascript" src="../../sprintf.js"></script>
<script type="text/javascript" src="../../dvl.js"></script>
View
@@ -5,7 +5,7 @@
<link type="text/css" href="base/css/smoothness/jquery-ui-1.8.7.custom.css" rel="Stylesheet" />
<script type="text/javascript" src="base/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="base/js/jquery-ui-1.8.7.custom.js"></script>
- <script type="text/javascript" src="base/d3.js"></script>
+ <script type="text/javascript" src="base/d3.v2.js"></script>
<script type="text/javascript" src="base/protovis-r3.2.js"></script>
<script type="text/javascript" src="base/sprintf.js"></script>
<script type="text/javascript" src="base/dvl.js"></script>
@@ -5,7 +5,7 @@
<link type="text/css" href="base/css/smoothness/jquery-ui-1.8.7.custom.css" rel="Stylesheet" />
<script type="text/javascript" src="base/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="base/js/jquery-ui-1.8.7.custom.js"></script>
- <script type="text/javascript" src="base/d3.js"></script>
+ <script type="text/javascript" src="base/d3.v2.js"></script>
<script type="text/javascript" src="base/protovis-r3.2.js"></script>
<script type="text/javascript" src="base/sprintf.js"></script>
<script type="text/javascript" src="base/dvl.js"></script>
@@ -5,7 +5,7 @@
<link type="text/css" href="base/css/smoothness/jquery-ui-1.8.7.custom.css" rel="Stylesheet" />
<script type="text/javascript" src="base/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="base/js/jquery-ui-1.8.7.custom.js"></script>
- <script type="text/javascript" src="base/d3.js"></script>
+ <script type="text/javascript" src="base/d3.v2.js"></script>
<script type="text/javascript" src="base/protovis-r3.2.js"></script>
<script type="text/javascript" src="base/sprintf.js"></script>
<script type="text/javascript" src="base/dvl.js"></script>
View
@@ -2,7 +2,7 @@
<html>
<head>
<title>New</title>
- <script src="../../d3/d3.js"></script>
+ <script src="../../d3/d3.v2.js"></script>
<script src="../../dvl.js"></script>
<style type="text/css">
line.ticks,
View
@@ -2,7 +2,7 @@
<html>
<head>
<title>New</title>
- <script type="text/javascript" src="../../d3/d3.js"></script>
+ <script type="text/javascript" src="../../d3/d3.v2.js"></script>
<script type="text/javascript" src="../../dvl.js"></script>
<style type="text/css">
View
@@ -5,7 +5,7 @@
<link type="text/css" href="../../css/smoothness/jquery-ui-1.8.7.custom.css" rel="Stylesheet" />
<script type="text/javascript" src="../../js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../../js/jquery-ui-1.8.7.custom.js"></script>
- <script type="text/javascript" src="../../d3.js"></script>
+ <script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../protovis-r3.2.js"></script>
<script type="text/javascript" src="../../sprintf.js"></script>
<script type="text/javascript" src="../../dvl.js"></script>
@@ -2,7 +2,7 @@
<html>
<head>
<title>DVL Random Walk</title>
- <script src="../../d3/d3.js"></script>
+ <script src="../../d3/d3.v2.js"></script>
<script src="../../dvl.js"></script>
<style>
@@ -5,7 +5,7 @@
<link type="text/css" href="../../css/smoothness/jquery-ui-1.8.7.custom.css" rel="Stylesheet" />
<script type="text/javascript" src="../../js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../../js/jquery-ui-1.8.7.custom.js"></script>
- <script type="text/javascript" src="../../d3.js"></script>
+ <script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../protovis-r3.2.js"></script>
<script type="text/javascript" src="../../sprintf.js"></script>
<script type="text/javascript" src="../../dvl.js"></script>
View
@@ -37,16 +37,6 @@ function lift(fn) {
}
`
-Array::filter ?= (fun, thisp) ->
- throw new TypeError() if typeof fun isnt 'function'
-
- res = new Array()
- for val in this
- res.push val if fun.call(thisp, val, i, this)
-
- return res
-
-
dvl = (value) -> new DVLDef(value)
dvl.version = '1.0.0'
this.dvl = dvl

0 comments on commit af877fc

Please sign in to comment.