Skip to content

Commit 9942edd

Browse files
Remove unnecessary method calls/definitions
1 parent 2c053ee commit 9942edd

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@
2222
2323
var noop = function() {};
2424
25-
var collectionToArray = function (collection) {
26-
var length = collection.length || 0,
27-
results = new Array(length);
28-
29-
while (length--) {
30-
results[length] = collection[length];
31-
}
32-
33-
return results;
34-
};
35-
3625
var profilerStorageKey = 'sf2/profiler/';
3726
3827
var request = function(url, onSuccess, onError, payload, options) {

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_js.html.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
document.getElementById('sfMiniToolbar-{{ token }}').style.display = 'none';
3939
}
4040
41-
Sfjs.renderAjaxRequests();
42-
4341
/* Handle toolbar-info position */
4442
var toolbarBlocks = [].slice.call(el.querySelectorAll('.sf-toolbar-block'));
4543
for (i = 0; i < toolbarBlocks.length; ++i) {

0 commit comments

Comments
 (0)