Skip to content

Commit ae70106

Browse files
author
p01
committed
syntax fixes
1 parent a578f0b commit ae70106

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/resource-manager/resource_service.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ cls.ResourceManagerService = function(view, network_logger)
4848
window.services['document-manager'].requestListDocuments(this._tag_requestListDocuments, []);
4949
}.bind(this).throttle(THROTTLE_DELAY);;
5050

51-
this._populateDocumentResources = function(r)
51+
this._populate_document_resources = function(r)
5252
{
5353
var documentID = r.document_id;
5454

@@ -132,14 +132,14 @@ cls.ResourceManagerService = function(view, network_logger)
132132
ctx.resourceList
133133
.forEach(function(r)
134134
{
135-
this._populateDocumentResources(r);
135+
this._populate_document_resources(r);
136136

137137
// check if this is the top resource of a document
138138
var documentID = ctx.documentResourceHash[r.resource_id];
139139
if (documentID != null && documentID != r.document_id)
140140
{
141141
r.document_id = documentID;
142-
this._populateDocumentResources(r);
142+
this._populate_document_resources(r);
143143
}
144144

145145
r.group = TYPE_GROUP_MAPPING[r.type]||TYPE_GROUP_MAPPING['*'];

src/resource-manager/resource_templates.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ templates.resource_tree =
1919

2020
DEPTH_IDENTATION: 18,
2121

22-
_expandCollapseExtras:function(context, pivotID, depth)
22+
_expander_extras:function(context, pivotID, depth)
2323
{
2424
var hash = context.collapsed;
2525
if (!hash.hasOwnProperty(pivotID))
@@ -76,7 +76,7 @@ templates.resource_tree =
7676
if (!windowInfo)
7777
return [];
7878

79-
var extras = this._expandCollapseExtras( context, String(w.id) );
79+
var extras = this._expander_extras( context, String(w.id) );
8080

8181
var tpl =
8282
['li',
@@ -122,7 +122,7 @@ templates.resource_tree =
122122
});
123123

124124
var depth = d.depth;
125-
var extras = this._expandCollapseExtras( context, d.pivotID, depth );
125+
var extras = this._expander_extras( context, d.pivotID, depth );
126126

127127
var tpl =
128128
['li',
@@ -180,7 +180,7 @@ templates.resource_tree =
180180
if (!resources.length)
181181
return [];
182182

183-
var extras = this._expandCollapseExtras( context, d.pivotID+'_'+g, d.depth+1);
183+
var extras = this._expander_extras( context, d.pivotID+'_'+g, d.depth+1);
184184

185185
var tpl =
186186
['li',

0 commit comments

Comments
 (0)