Skip to content

Commit

Permalink
Merge pull request seajs#840 from noahlu/master
Browse files Browse the repository at this point in the history
Improve comments
  • Loading branch information
lifesinger committed Jul 11, 2013
2 parents 983983f + 5edb594 commit 2862b6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function Module(uri, deps) {
this.exports = null
this.status = 0

// Who depend on me
// Who depends on me
this._waitings = {}

// The number of unloaded dependencies
Expand Down
4 changes: 2 additions & 2 deletions src/util-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ seajs.off = function(name, callback) {
return seajs
}

// Emit event, firing all bound callbacks. Callbacks are passed the same
// arguments as `emit` is, apart from the event name
// Emit event, firing all bound callbacks. Callbacks receive the same
// arguments as `emit` does, apart from the event name
var emit = seajs.emit = function(name, data) {
var list = events[name], fn

Expand Down
2 changes: 1 addition & 1 deletion src/util-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var READY_STATE_RE = /^(?:loaded|complete|undefined)$/
var currentlyAddingScript
var interactiveScript

// `onload` event is supported in WebKit < 535.23 and Firefox < 9.0
// `onload` event is not supported in WebKit < 535.23 and Firefox < 9.0
// ref:
// - https://bugs.webkit.org/show_activity.cgi?id=38995
// - https://bugzilla.mozilla.org/show_bug.cgi?id=185236
Expand Down

0 comments on commit 2862b6f

Please sign in to comment.