Simon Hunt | 8b28c6b | 2016-02-03 12:33:15 -0800 | [diff] [blame^] | 1 | <!DOCTYPE html> |
| 2 | <!-- |
| 3 | ~ Copyright 2016 Open Networking Laboratory |
| 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
| 16 | --> |
| 17 | |
| 18 | <!-- |
| 19 | ONOS -- Sample use of trie functions in fn.js |
| 20 | --> |
| 21 | |
| 22 | <html> |
| 23 | <head lang="en"> |
| 24 | <meta charset="UTF-8"> |
| 25 | <title>Test Trie Functions</title> |
| 26 | |
| 27 | <script type="text/javascript" src="../tp/angular.js"></script> |
| 28 | <script type="text/javascript" src="../tp/angular-route.js"></script> |
| 29 | |
| 30 | <script type="text/javascript" src="../tp/d3.js"></script> |
| 31 | |
| 32 | <script type="text/javascript" src="../app/fw/util/util.js"></script> |
| 33 | <script type="text/javascript" src="../app/fw/util/fn.js"></script> |
| 34 | |
| 35 | <script type="text/javascript" src="trie-test.js"></script> |
| 36 | |
| 37 | <link rel="stylesheet" href="../app/common.css"> |
| 38 | |
| 39 | <style> |
| 40 | html, |
| 41 | body { |
| 42 | background-color: #ddf; |
| 43 | font-family: Arial, Helvetica, sans-serif; |
| 44 | font-size: 9pt; |
| 45 | } |
| 46 | |
| 47 | h2 { |
| 48 | color: darkred; |
| 49 | } |
| 50 | |
| 51 | #output div { |
| 52 | font-family: monospace; |
| 53 | white-space: pre; |
| 54 | } |
| 55 | </style> |
| 56 | |
| 57 | </head> |
| 58 | |
| 59 | <!-- outline for using a controller in Angular --> |
| 60 | <body class="light" ng-app="trie" ng-controller="OvTrieTest as ctrl"> |
| 61 | <h2>Testing the Trie Functions</h2> |
| 62 | <div id="output"></div> |
| 63 | </body> |
| 64 | </html> |