Skip to content

Commit

Permalink
Merge pull request kupriyanenko#47 from elprogresivo/master
Browse files Browse the repository at this point in the history
comments spellchecked
  • Loading branch information
kupriyanenko committed Apr 10, 2015
2 parents 535faa0 + 2c447a5 commit 5f7658e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jBone.event = {
length = handlerQueue.length;

for (;
// if events is exist
// if event exists
i < length &&
// if handler is not removed from stack
~handlers.indexOf(handlerQueue[i]) &&
Expand Down
4 changes: 2 additions & 2 deletions src/manipulation.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn.append = function(appended) {
if (isString(appended) && rquickExpr.exec(appended)) {
appended = jBone(appended);
}
// create text node for inserting
// create text node for insertion
else if (!isObject(appended)) {
appended = document.createTextNode(appended);
}
Expand Down Expand Up @@ -74,7 +74,7 @@ fn.remove = function() {
length = this.length,
el;

// remove all listners
// remove all listeners
this.off();

for (; i < length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion src/traversing.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn.find = function(selector) {
fn.get = function(index) {
return index != null ?

// Return just the one element from the set
// Return just one element from the set
(index < 0 ? this[index + this.length] : this[index]) :

// Return all the elements in a clean array
Expand Down

0 comments on commit 5f7658e

Please sign in to comment.