Skip to content

Commit 21ccd72

Browse files
committed
Remove extraneous console logs
1 parent f518cdd commit 21ccd72

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/js/modules/orcid/extension.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ define([
5252
}
5353
});
5454

55-
console.group('Orcid Action');
56-
console.log(`Running action: ${action} on ${models.length} models`);
5755
// go through each model and grab the view for triggering
5856
_.forEach(
5957
models,
@@ -65,14 +63,12 @@ define([
6563
var view = this.view.children.findByModel(m);
6664

6765
if (view) {
68-
console.log('Found view for model, firing event on view', m);
6966
view.trigger('OrcidAction', {
7067
action: action,
7168
view: view,
7269
model: m,
7370
});
7471
} else {
75-
console.warn('Could not find view for model, firing event directly', m);
7672
WidgetClass.prototype.onAllInternalEvents.call(this, 'childview:OrcidAction', null, {
7773
action: action,
7874
model: m,
@@ -81,7 +77,6 @@ define([
8177
}
8278
}, this)
8379
);
84-
console.groupEnd('Orcid Action');
8580
}, this);
8681

8782
switch (event) {

0 commit comments

Comments
 (0)