Add routing-table widget to textfield example

This commit is contained in:
Tony Garnock-Jones 2014-03-10 15:02:03 -04:00
parent 67457f0776
commit 9a511e2b9b
2 changed files with 15 additions and 1 deletions

View File

@ -11,13 +11,18 @@
<script src="../../third-party/jquery-2.0.3.min.js"></script> <script src="../../third-party/jquery-2.0.3.min.js"></script>
<script src="../../marketplace.js"></script> <script src="../../marketplace.js"></script>
<script src="../../spy.js"></script> <script src="../../spy.js"></script>
<script src="../../dom-driver.js"></script>
<script src="../../routing-table-widget.js"></script>
<link href="../../routing-table-widget.css" rel="stylesheet">
<script src="../../jquery-driver.js"></script> <script src="../../jquery-driver.js"></script>
<script src="../../wake-detector.js"></script> <script src="../../wake-detector.js"></script>
<script src="../../websocket-driver.js"></script> <script src="../../websocket-driver.js"></script>
<script src="index.js"></script> <script src="index.js"></script>
</head> </head>
<body> <body>
<div class="container-fluid"> <div class="container-fluid" id="staticportion">
<div class="row-fluid"> <div class="row-fluid">
<div class="span12"> <div class="span12">
<h1>Textfield Example</h1> <h1>Textfield Example</h1>
@ -35,5 +40,11 @@
</div> </div>
</div> </div>
</div> </div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12" id="spy-holder">
</div>
</div>
</div>
</body> </body>
</html> </html>

View File

@ -158,6 +158,9 @@ var G;
$(document).ready(function () { $(document).ready(function () {
G = new Ground(function () { G = new Ground(function () {
spawnJQueryDriver(); spawnJQueryDriver();
spawnDOMDriver();
spawnRoutingTableWidget("#spy-holder", "spy");
spawnGui(); spawnGui();
spawnModel(); spawnModel();
spawnSearch(); spawnSearch();