Skip to content

Commit 4e19cee

Browse files
authored
Merge pull request #84 from timgates42/bugfix_typos
docs: Fix a few typos
2 parents 0782eae + 50eeb35 commit 4e19cee

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/impl/inject/inject.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ var Communicator;
970970
* @param {string} url - url to use as a key to store file content
971971
* @param {string} contents file contents to be stored in cache
972972
* @private
973-
* @returns a function adhearing to the lscache set() method
973+
* @returns a function adhering to the lscache set() method
974974
**/
975975
function writeToCache(url, contents) {
976976
// lscache and passthrough
@@ -1583,7 +1583,7 @@ var Executor;
15831583
if (!node.isCircular()) {
15841584
// note: we use "name" here, because of CommonJS Spec 1.0 Modules
15851585
// the relative includes we find must be relative to "name", not the
1586-
// resovled name
1586+
// resolved name
15871587
returns.push(Executor.runModule(resolvedId, file, path, pointcuts));
15881588
}
15891589
});
@@ -1814,7 +1814,7 @@ var InjectCore;
18141814
* @param {string} id - the module identifier for relative module IDs
18151815
* @param {string} path - the module path for relative path operations
18161816
* @public
1817-
* @returns a function adhearing to CommonJS and AMD require()
1817+
* @returns a function adhering to CommonJS and AMD require()
18181818
*/
18191819
createRequire: function(id, path) {
18201820
var req = new RequireContext(id, path);
@@ -1838,7 +1838,7 @@ var InjectCore;
18381838
* @param {string} id - the module identifier for relative module IDs
18391839
* @param {string} path - the module path for relative path operations
18401840
* @public
1841-
* @returns a function adhearing to the AMD define() method
1841+
* @returns a function adhering to the AMD define() method
18421842
*/
18431843
createDefine: function(id, path) {
18441844
var req = new RequireContext(id, path);
@@ -2614,7 +2614,7 @@ var RulesEngine;
26142614
* <li>ruleSet.pointcuts.after: a function to run after executing this module</li>
26152615
* </ul>
26162616
* @method RulesEngine.addRule
2617-
* @param {RegExp|String} regexMatch - a stirng or regex to match on
2617+
* @param {RegExp|String} regexMatch - a string or regex to match on
26182618
* @param {int} weight - a weight for the rule. Larger values run later
26192619
* @param {Object} ruleSet - an object containing the rules to apply
26202620
* @public

test/tests/doh/_browserRunner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ if(window["dojo"]){
677677
loaded = true;
678678
groupTemplate = byId("groupTemplate");
679679
if(!groupTemplate){
680-
// make sure we've got an ammenable DOM structure
680+
// make sure we've got an amenable DOM structure
681681
return;
682682
}
683683
groupTemplate.parentNode.removeChild(groupTemplate);

0 commit comments

Comments
 (0)