~jderose/ubuntu/vivid/couchdb/fix-1457464

« back to all changes in this revision

Viewing changes to src/fauxton/app/addons/styletests/routes.js

  • Committer: Package Import Robot
  • Author(s): Jason Gerard DeRose
  • Date: 2014-07-20 16:31:46 UTC
  • mfrom: (1.3.6)
  • Revision ID: package-import@ubuntu.com-20140720163146-lfok33zib66d1xwe
Tags: 1.6.0-0ubuntu1
* New upstream release (LP: #1212481)
* debian/control: bump Standards-Version to 3.9.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
 
2
// use this file except in compliance with the License. You may obtain a copy of
 
3
// the License at
 
4
//
 
5
//   http://www.apache.org/licenses/LICENSE-2.0
 
6
//
 
7
// Unless required by applicable law or agreed to in writing, software
 
8
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 
9
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 
10
// License for the specific language governing permissions and limitations under
 
11
// the License.
 
12
 
 
13
define([
 
14
  "app",
 
15
  "api",
 
16
  "addons/styletests/views"
 
17
],
 
18
 
 
19
function(app, FauxtonAPI, Views) {
 
20
 
 
21
        var TestRouteObject = FauxtonAPI.RouteObject.extend({
 
22
                layout: "one_pane",
 
23
                routes: {
 
24
                        "tests": "initialize"
 
25
                },
 
26
                selectedHeader: 'theme tests',
 
27
                crumbs:[],
 
28
    apiUrl: function(){
 
29
      return false;
 
30
    },
 
31
    initialize: function(){
 
32
                        this.setView("#dashboard-content", new Views.tests({}));
 
33
    }
 
34
        });
 
35
 
 
36
        Views.RouteObjects = [TestRouteObject];
 
37
 
 
38
        return Views;
 
39
 
 
40
});