~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/media/tutorial.js

  • Committer: William Grant
  • Date: 2009-03-25 22:13:16 UTC
  • mfrom: (1171 trunk)
  • mto: (1165.3.1 submissions)
  • mto: This revision was merged to the branch mainline in revision 1174.
  • Revision ID: grantw@unimelb.edu.au-20090325221316-wj6td6w4hbwv96od
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
    var i;
233
233
    var testoutput;
234
234
    for (i=0; i<childs.length; i++)
235
 
        if (childs[i].nodeType == exercisediv.ELEMENT_NODE &&
 
235
        if (childs[i].nodeType == 1 && /* 1 = ELEMENT_NODE */
236
236
            childs[i].getAttribute("class") == "testoutput")
237
237
            return childs[i];
238
238
    return null;