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

docs: Fix a few typos #576

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions test/backbone-koans/js/ext/backbone.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
},

// Fetch the model from the server. If the server's representation of the
// model differs from its current attributes, they will be overriden,
// model differs from its current attributes, they will be overridden,
// triggering a `"change"` event.
fetch : function(options) {
options || (options = {});
Expand Down Expand Up @@ -885,7 +885,7 @@
};

// Element lookup, scoped to DOM elements within the current view.
// This should be prefered to global lookups, if you're dealing with
// This should be preferred to global lookups, if you're dealing with
// a specific view.
var selectorDelegate = function(selector) {
return $(selector, this.el);
Expand Down Expand Up @@ -984,7 +984,7 @@
// Ensure that the View has a DOM element to render into.
// If `this.el` is a string, pass it through `$()`, take the first
// matching element, and re-assign it to `el`. Otherwise, create
// an element from the `id`, `className` and `tagName` proeprties.
// an element from the `id`, `className` and `tagName` properties.
_ensureElement : function() {
if (!this.el) {
var attrs = this.attributes || {};
Expand Down
2 changes: 1 addition & 1 deletion test/backbone-koans/js/ext/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -7318,7 +7318,7 @@ jQuery.extend({
// Apply prefilters
inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );

// If request was aborted inside a prefiler, stop there
// If request was aborted inside a profiler, stop there
if ( state === 2 ) {
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion test/backbone-koans/js/ext/sinon-1.3.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -2730,7 +2730,7 @@ if (typeof module == "object" && typeof require == "function") {
/**
* The Sinon "server" mimics a web server that receives requests from
* sinon.FakeXMLHttpRequest and provides an API to respond to those requests,
* both synchronously and asynchronously. To respond synchronuously, canned
* both synchronously and asynchronously. To respond synchronously, canned
* answers have to be provided upfront.
*
* @author Christian Johansen (christian@cjohansen.no)
Expand Down
4 changes: 2 additions & 2 deletions test/commonjs/commonjs_bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ function urlResolveObject(source, relative) {
// Put this after the other two cases because it simplifies the booleans
if (psychotic) {
source.hostname = source.host = srcPath.shift();
//occationaly the auth can get stuck only in host
//occasionally the auth can get stuck only in host
//this especialy happens in cases like
//url.resolveObject('mailto:local1@domain1', 'local2@domain2')
var authInHost = source.host && arrayIndexOf(source.host, '@') > 0 ?
Expand Down Expand Up @@ -565,7 +565,7 @@ function urlResolveObject(source, relative) {
if (psychotic) {
source.hostname = source.host = isAbsolute ? '' :
srcPath.length ? srcPath.shift() : '';
//occationaly the auth can get stuck only in host
//occasionally the auth can get stuck only in host
//this especialy happens in cases like
//url.resolveObject('mailto:local1@domain1', 'local2@domain2')
var authInHost = source.host && arrayIndexOf(source.host, '@') > 0 ?
Expand Down
6 changes: 3 additions & 3 deletions test/jquery-usage/js/ext/backbone.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
},

// Fetch the model from the server. If the server's representation of the
// model differs from its current attributes, they will be overriden,
// model differs from its current attributes, they will be overridden,
// triggering a `"change"` event.
fetch : function(options) {
options || (options = {});
Expand Down Expand Up @@ -885,7 +885,7 @@
};

// Element lookup, scoped to DOM elements within the current view.
// This should be prefered to global lookups, if you're dealing with
// This should be preferred to global lookups, if you're dealing with
// a specific view.
var selectorDelegate = function(selector) {
return $(selector, this.el);
Expand Down Expand Up @@ -984,7 +984,7 @@
// Ensure that the View has a DOM element to render into.
// If `this.el` is a string, pass it through `$()`, take the first
// matching element, and re-assign it to `el`. Otherwise, create
// an element from the `id`, `className` and `tagName` proeprties.
// an element from the `id`, `className` and `tagName` properties.
_ensureElement : function() {
if (!this.el) {
var attrs = this.attributes || {};
Expand Down
2 changes: 1 addition & 1 deletion test/jquery-usage/js/ext/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -7318,7 +7318,7 @@ jQuery.extend({
// Apply prefilters
inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );

// If request was aborted inside a prefiler, stop there
// If request was aborted inside a profiler, stop there
if ( state === 2 ) {
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion test/jquery-usage/js/ext/sinon-1.3.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -2730,7 +2730,7 @@ if (typeof module == "object" && typeof require == "function") {
/**
* The Sinon "server" mimics a web server that receives requests from
* sinon.FakeXMLHttpRequest and provides an API to respond to those requests,
* both synchronously and asynchronously. To respond synchronuously, canned
* both synchronously and asynchronously. To respond synchronously, canned
* answers have to be provided upfront.
*
* @author Christian Johansen (christian@cjohansen.no)
Expand Down
2 changes: 1 addition & 1 deletion test/usage/backbone.js
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@
tagName: 'div',

// jQuery delegate for element lookup, scoped to DOM elements within the
// current view. This should be prefered to global lookups where possible.
// current view. This should be preferred to global lookups where possible.
$: function(selector) {
return this.$el.find(selector);
},
Expand Down