aboutsummaryrefslogtreecommitdiff
path: root/app/index.html
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2014-05-10 18:31:53 +0200
committerJakob Odersky <jodersky@gmail.com>2014-05-10 18:34:52 +0200
commit6d22aef60227e4cb4129d0c40521cb9464e44d69 (patch)
tree38e98b7497bdb968f1dd4e46f7a6b67413f9baa8 /app/index.html
parentddba3742edbbb85c9d1654ac23b44d8f1f8872ec (diff)
downloadplayGraph-6d22aef60227e4cb4129d0c40521cb9464e44d69.tar.gz
playGraph-6d22aef60227e4cb4129d0c40521cb9464e44d69.tar.bz2
playGraph-6d22aef60227e4cb4129d0c40521cb9464e44d69.zip
add dummy points
Diffstat (limited to 'app/index.html')
-rw-r--r--app/index.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/index.html b/app/index.html
index d41493e..ed08ff2 100644
--- a/app/index.html
+++ b/app/index.html
@@ -10,6 +10,21 @@
</head>
<body ng-app="playGraph" ng-controller="pointCtrl">
+ <svg id="world" width="500" height="500">
+ <circle data-ng-repeat="point in points" cx="{{point.x}}" cy="{{point.y}}" r="10" stroke="gray" stroke-width="2" fill="white"></circle>
+ </svg>
+
+ <script>
+ /*
+ $(document).onload(function() {
+ var svg = $('#world').svg('get');
+ $('circle', svg.root()).click(function () {
+ attr('cx', '300');
+ });
+ });
+ */
+ </script
+
<p>Nothing here {{text}}</p>
</body>
</html>