Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typos #3

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

---

### 0.8.0 Febuary 19, 2013
### 0.8.0 February 19, 2013
Initial public release (third major version release include internal ones)
* Prefetch and search data locally insanely fast
* Search hard-coded, prefetched, and/or remote data
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Contributing Guildlines
Contributing Guidelines
=======================

Setup
Expand Down
2 changes: 1 addition & 1 deletion src/js/dropdown_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ var DropdownView = (function() {

$suggestions.empty();

// add empty class if the dropdwn menu is empty
// add empty class if the dropdown menu is empty
this._getSuggestions().length === 0 && this.$menu.addClass('tt-is-empty');
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/js/typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
var dataset,
name = datasetDef.name = datasetDef.name || utils.getUniqueId();

// dataset by this name has already been intialized, used it
// dataset by this name has already been initialized, used it
if (initializedDatasets[name]) {
dataset = initializedDatasets[name];
}
Expand Down
4 changes: 2 additions & 2 deletions src/js/typeahead_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ var TypeaheadView = (function() {
this.inputView.setInputValue(suggestionData.value);

// if triggered by click, ensure the query input still has focus
// if trigged by keypress, prevent default browser behavior
// which is most likely the submisison of a form
// if triggered by keypress, prevent default browser behavior
// which is most likely the submission of a form
// note: e.data is the jquery event
byClick ? this.inputView.focus() : e.data.preventDefault();

Expand Down
2 changes: 1 addition & 1 deletion test/input_view_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe('InputView', function() {
});
});

describe('if only whitespace in query has chagned', function() {
describe('if only whitespace in query has changed', function() {
beforeEach(function() {
this.inputView.query = 'old town';
this.inputView.$input.val('old town');
Expand Down
4 changes: 2 additions & 2 deletions test/typeahead_view_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe('TypeaheadView', function() {
this.inputView.trigger('whitespaceChange');
});

it('should update langauge class name', function() {
it('should update language class name', function() {
expect(this.typeaheadView.$node).toHaveClass('tt-rtl');
expect(this.typeaheadView.$node).not.toHaveClass('tt-ltr');
});
Expand Down Expand Up @@ -196,7 +196,7 @@ describe('TypeaheadView', function() {
this.inputView.trigger('queryChange');
});

it('should update langauge class name', function() {
it('should update language class name', function() {
expect(this.typeaheadView.$node).toHaveClass('tt-rtl');
expect(this.typeaheadView.$node).not.toHaveClass('tt-ltr');
});
Expand Down