Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor comment edits. Enyo-DCO-1.1-Signed-Off-By: Jim Tang (jim.tang@l…

…ge.com)
  • Loading branch information...
commit 071b4f73b57f91cf3633b5a5643acd5c8172648b 1 parent d262ee4
@jdtang jdtang authored
Showing with 6 additions and 7 deletions.
  1. +3 −3 source/boot/ready.js
  2. +3 −4 source/kernel/Object.js
View
6 source/boot/ready.js
@@ -1,7 +1,7 @@
(function (scope) {
// we need to register appropriately to know when
- // the document is officially ready to ensure
+ // the document is officially ready, to ensure that
// client code is only going to execute at the
// appropriate time
@@ -24,7 +24,7 @@
};
init = function (event) {
- // if we're interactive it should be safe to move
+ // if we're interactive, it should be safe to move
// forward because the content has been parsed
if ((ready = ("interactive" === doc.readyState))) {
if (!~["DOMContentLoaded", "readystatechange"].indexOf(event.type)) {
@@ -59,7 +59,7 @@
}
};
- // ok, lets hook this nonsense up
+ // ok, let's hook this up
add("DOMContentLoaded", init);
add("readystatechange", init);
View
7 source/kernel/Object.js
@@ -101,10 +101,9 @@ enyo.kind({
_lang.js#enyo.findAndInstance_ for more information.
If a method exists of the form `{property}FindAndInstance`, it will
- be used as the callback accepting two parameters, the constructor
- (if it was found) and the instance (if it was found or created),
- respectively. This allows for those methods to be overloaded by
- subkinds.
+ be used as the callback, with two parameters accepted--the constructor
+ (if it was found) and the instance (if it was found or created). This
+ allows for those methods to be overloaded by subkinds.
*/
findAndInstance: function (property) {
// if there isn't a property, do nothing
Please sign in to comment.
Something went wrong with that request. Please try again.