Skip to content

Commit 7c6a5aa

Browse files
committed
clean up API overview page code a bit
1 parent a9bbcb6 commit 7c6a5aa

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

js/views/apis/overview.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@ define([
22
'jquery',
33
'underscore',
44
'backbone',
5+
'mustache',
56
'router',
67
'models/session',
7-
'text!templates/apis/overview.html',
8+
'text!templates/apis/docs-overview.html',
89
'views/comments/comments',
910
'models/api',
1011
'views/resource/tablelist'
11-
], function($, _, Backbone, Router, Session, overviewTemplate, CommentsView, ApiModel, TableList){
12+
], function($, _, Backbone, Mustache, Router, Session, overviewTemplate, CommentsView, ApiModel, TableList){
1213
var NewApiPage = Backbone.View.extend({
13-
el: '.method-container',
14+
el: '.docs-container',
1415
initialize: function () {
1516
var that = this;
16-
17-
},
17+
18+
},
1819
render: function () {
1920
var that = this;
2021
$('.api-menu-container a.active').removeClass('active');

0 commit comments

Comments
 (0)