blob: b6a8c020bb533188c701f7bc5c791110251540ad [file] [log] [blame]
Simon Hunt195cb382014-11-03 17:50:51 -08001/*
2 * Copyright 2014 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/*
18 ONOS GUI -- Preamble -- the first thing we do
19
20 @author Simon Hunt
21 */
22
23(function () {
Simon Hunt56d51852014-11-09 13:03:35 -080024
25 // NOTE: DON'T Want to do this.. we want to be able to
26 // use the parameter section, for example:
27 // #viewId,context?flag1,flag2,flag3
28
Simon Hunt195cb382014-11-03 17:50:51 -080029 // Check if the URL in the address bar contains a parameter section
30 // (delineated by '?'). If this is the case, rewrite using '#' instead.
31
Simon Hunt56d51852014-11-09 13:03:35 -080032 //var m = /([^?]*)\?(.*)/.exec(window.location.href);
33 //if (m) {
34 // window.location.href = m[1] + '#' + m[2];
35 //}
Simon Hunt195cb382014-11-03 17:50:51 -080036
37}());