Bug #1607

comparitor should be comparator

Added by Giulio Moro almost 9 years ago. Updated almost 9 years ago.

Status:ResolvedStart date:2016-02-21
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

I think there is a typo "comparitor" for "comparator"

$ grep -Rin  comparitor *
interfaces/AB.css:40:div.comparitor-holder {
interfaces/AB.css:49:div.comparitor-selector {
interfaces/AB.css:66:div.comparitor-selector span {
interfaces/AB.css:70:button.comparitor-button {
interfaces/AB.js:10:    // Custom Comparitor Object
interfaces/AB.js:11:    Interface.prototype.comparitor = null;
interfaces/AB.js:151:    // Populate the comparitor object
interfaces/AB.js:152:    interfaceContext.comparitor = new Comparitor(audioHolderObject);
interfaces/AB.js:168:function Comparitor(audioHolderObject)
interfaces/AB.js:170:    this.comparitorBox = function(audioElement,id,text)
interfaces/AB.js:177:        this.box.className = 'comparitor-holder';
interfaces/AB.js:179:        this.box.id = 'comparitor-'+text;
interfaces/AB.js:181:        this.selector.className = 'comparitor-selector disabled';
interfaces/AB.js:186:        this.playback.className = 'comparitor-button';
interfaces/AB.js:205:            $(".comparitor-selector").removeClass('selected');
interfaces/AB.js:207:            interfaceContext.comparitor.selected = id;
interfaces/AB.js:209:            for (var i=0; i<interfaceContext.comparitor.comparitors.length; i++)
interfaces/AB.js:211:                var obj = interfaceContext.comparitor.comparitors[i];
interfaces/AB.js:255:            $('.comparitor-button').text('Listen');
interfaces/AB.js:285:    this.comparitors = [];
interfaces/AB.js:297:        var node = new this.comparitorBox(audioObject,index,String.fromCharCode(65 + index));
interfaces/AB.js:299:        this.comparitors.push(node);
interfaces/AB.js:308:    var numObj = interfaceContext.comparitor.comparitors.length;

History

#1 Updated by Nicholas Jillings almost 9 years ago

  • Status changed from New to Resolved

The dangers of assisted IDEs.... thanks!

#2 Updated by Giulio Moro almost 9 years ago

Well on the up side, an IDE should allow refactoring without using search and replace or sed

Also available in: Atom PDF