Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed some typos in comments and error messages #321

Closed
wants to merge 1 commit into from

2 participants

@jakub-g
Collaborator

Fixed typos and various misspellings in several files.

@piuccio

Integrated in 7556f5e

@piuccio piuccio closed this
@jakub-g jakub-g deleted the jakub-g:typos branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
2  src/aria/core/ClassLoader.js
@@ -101,7 +101,7 @@ Aria.classDefinition({
/**
* Is true if there were errors while retrieving missing dependencies. It becomes true when you call
- * <code>addDependecies</code> with wrong parameters or when one of the missing dependencies raises a class
+ * <code>addDependencies</code> with wrong parameters or when one of the missing dependencies raises a class
* error event
* @protected
* @type Boolean
View
4 src/aria/core/IO.js
@@ -153,7 +153,7 @@ Aria.classDefinition({
/* Backward Compatibility ends here */
/**
- * Map of headers sent with evey request.
+ * Map of headers sent with every request.
* @type Object
*/
this.headers = {
@@ -988,4 +988,4 @@ Aria.classDefinition({
}
}
-});
+});
View
2  src/aria/core/TplClassLoader.js
@@ -73,7 +73,7 @@
tplDiv.style.background = "";
}
- // Load the CSS dependecies, the style should be added before the html
+ // Load the CSS dependencies, the style should be added before the html
tplDiv.className = tplCtxt.getCSSClassNames(); // remove the loading indicator
if (result) {
args.tplCtxt = tplCtxt;
View
2  src/aria/html/Template.js
@@ -199,7 +199,7 @@ Aria.classDefinition({
tplCtxt.dataReady(); // data successfully loaded: signal to template through TemplateContext
// check that tplCtxt was not disposed
if (tplDiv && tplCtxt._cfg) {
- // Load the CSS dependecies, the style should be added before the html
+ // Load the CSS dependencies, the style should be added before the html
tplDiv.className = tplDiv.className + " " + tplCtxt.getCSSClassNames(true);
tplCtxt.$onOnce({
"Ready" : this.__innerTplReadyCb,
View
8 src/aria/jsunit/TestCase.js
@@ -33,7 +33,7 @@ Aria.classDefinition({
"defaultTestTimeout" : 60000,
ERROR_NOTIFY_END : "Synchronous test is calling notifyTestEnd",
- EXCEPTION_IN_METHOD : "Exception raised while calling '%1' in an asynchrnous test"
+ EXCEPTION_IN_METHOD : "Exception raised while calling '%1' in an asynchronous test"
},
$constructor : function () {
// constructor
@@ -158,8 +158,8 @@ Aria.classDefinition({
},
/**
- * Executed when an un-handled exception is thrown inside a method defined on the test instance but not a test.
- * If the test is asynchrnous this will log an error and notify its end
+ * Executed when an unhandled exception is thrown inside a method defined on the test instance but not a test.
+ * If the test is asynchronous this will log an error and notify its end
* @param {Error} ex Exception
* @param {String} methodName Method that threw the exception
* @private
@@ -174,7 +174,7 @@ Aria.classDefinition({
},
/**
- * Conditionnal wait before calling the callback It takes only one json parameter
+ * Conditional wait before calling the callback It takes only one json parameter
* @param {args} args json parameter with the following attributes: <br />
* {integer} delay : Optional. Time interval between two test <br />
* {Function} condition : function which returns true or false. If true, the callback will be called, if false,
View
4 src/aria/utils/Delegate.js
@@ -51,7 +51,7 @@ Aria.classDefinition({
"mouseover", "mouseout", "contextmenu", "touchstart", "touchend", "touchmove", "mousewheel"];
/**
- * Delegated events on window. On modern browser, if focus is not on an element, event are not catched by the
+ * Delegated events on window. On modern browser, if focus is not on an element, event are not caught by the
* body but the window.
* @type Array
*/
@@ -182,7 +182,7 @@ Aria.classDefinition({
this._delegatedMap = null;
},
$statics : {
- DELEGATE_UTIL_CALLBACK_FAIL : "Error catch in callback for event %1"
+ DELEGATE_UTIL_CALLBACK_FAIL : "Error caught in callback for event %1"
},
$prototype : {
View
2  src/aria/widgets/Template.js
@@ -245,7 +245,7 @@ Aria.classDefinition({
tplCtxt.dataReady(); // data successfully loaded: signal to template through TemplateContext
// check that tplCtxt was not disposed
if (tplDiv && tplCtxt._cfg) {
- // Load the CSS dependecies, the style should be added before the html
+ // Load the CSS dependencies, the style should be added before the html
tplDiv.className = tplCtxt.getCSSClassNames();
tplCtxt.$onOnce({
"Ready" : this.__innerTplReadyCb,
View
2  test/aria/templates/ModuleCtrlTest.js
@@ -519,7 +519,7 @@ Aria.classDefinition({
scope : this
});
subModule.raiseTestEvent();
- this.assertTrue(test == 1, "Event was not catched by parent module");
+ this.assertTrue(test == 1, "Event was not caught by parent module");
// test disposeSubModule:
parentModuleCtrl.disposeSubModule(subModule);
View
2  test/aria/utils/Html.js
@@ -38,7 +38,7 @@ Aria.classDefinition({
var classesStr = div.className;
for (var i = 0, ii = attribute.length; i < ii; i++) {
this.assertTrue(classesStr.indexOf(attribute[i]) > -1, "The class " + attribute[i]
- + " shoud be in the generated markup");
+ + " should be in the generated markup");
}
} else if (key === "dataset") {
for (var dataKey in attribute) {
Something went wrong with that request. Please try again.