<commit_before>dojo.provide("MainAssistant");
dojo.require("dojox.mobile.app.SceneAssistant");

dojo.declare("MainAssistant", dojox.mobile.app.SceneAssistant, {
  
  setup: function(){
    console.log("In main assistant setup");
    
    var appInfoNode = this.controller.query(".appInfoArea")[0];
    
    appInfoNode.innerHTML =
      "This app has the following info: \n"
        + dojo.toJson(dojox.mobile.app.info, true).split("\t").join("  ");
        
    // Instantiate widgets in the template HTML.
    this.controller.parse();
    
    var _this = this;
    var launcher = dijit.byId("secondSceneLauncher");
    
    console.log("launcher = " , launcher, " node = ", this.domNode);
    this.connect(launcher, "onClick", function(){
      console.log("launching the second scene");
      <commit_msg>Refs #12757 Fixes mobile test case where a widget was listened to for a click rather than a DOM node<commit_after>dojo.provide("MainAssistant");
dojo.require("dojox.mobile.app.SceneAssistant");

dojo.declare("MainAssistant", dojox.mobile.app.SceneAssistant, {
  
  setup: function(){
    console.log("In main assistant setup");
    
    var appInfoNode = this.controller.query(".appInfoArea")[0];
    
    appInfoNode.innerHTML =
      "This app has the following info: \n"
        + dojo.toJson(dojox.mobile.app.info, true).split("\t").join("  ");
        
    // Instantiate widgets in the template HTML.
    this.controller.parse();
    
    var _this = this;
    var launcher = dijit.byId("secondSceneLauncher");
    
    console.log("launcher = " , launcher, " node = ", this.domNode);
    this.connect(launcher.domNode, "onclick", function(){
      console.log("launching the second scene");
      
{'fraction_non_alphanumeric': 0.14244016345592528, 'fraction_numerical': 0.004086398131932283, 'mean_word_length': 3.2531017369727047, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '135441', 'n_tokens_mistral': 554, 'n_tokens_neox': 538, 'n_words': 113}