<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic KnockoutJS in version 1826 in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061039#M54121</link>
    <description>&lt;P&gt;I am currently developing an app using the Intel XDK using the jQuery UI Framework and KnockoutJS MVVM framework.&lt;/P&gt;

&lt;P&gt;All had been progressing nicely until I upgraded to the version before 1826 (problem still exists in 1826) at which point click events bound to knockoutjs (version 3.3.0) no longer work in the emulator. &amp;nbsp;Clicks still work in App Preview on my android phone and if I open index.html in a browser, just not in the emulator.&lt;/P&gt;

&lt;P&gt;I've tried choosing non-cordova option on new project creation - no difference.&lt;/P&gt;

&lt;P&gt;At this point it would be a lot of effort to not use knockoutjs but also very difficult to develop without the emulator, any help appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Mar 2015 23:21:57 GMT</pubDate>
    <dc:creator>Gavin_M_1</dc:creator>
    <dc:date>2015-03-25T23:21:57Z</dc:date>
    <item>
      <title>KnockoutJS in version 1826</title>
      <link>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061039#M54121</link>
      <description>&lt;P&gt;I am currently developing an app using the Intel XDK using the jQuery UI Framework and KnockoutJS MVVM framework.&lt;/P&gt;

&lt;P&gt;All had been progressing nicely until I upgraded to the version before 1826 (problem still exists in 1826) at which point click events bound to knockoutjs (version 3.3.0) no longer work in the emulator. &amp;nbsp;Clicks still work in App Preview on my android phone and if I open index.html in a browser, just not in the emulator.&lt;/P&gt;

&lt;P&gt;I've tried choosing non-cordova option on new project creation - no difference.&lt;/P&gt;

&lt;P&gt;At this point it would be a lot of effort to not use knockoutjs but also very difficult to develop without the emulator, any help appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 23:21:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061039#M54121</guid>
      <dc:creator>Gavin_M_1</dc:creator>
      <dc:date>2015-03-25T23:21:57Z</dc:date>
    </item>
    <item>
      <title>Could you post a simple test</title>
      <link>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061040#M54122</link>
      <description>&lt;P&gt;Could you post a simple test case that illustrates the problem?&amp;nbsp;&amp;nbsp; I'm not familiar with KnockoutJS, but if I have a reproducer I might be able to help.&lt;/P&gt;

&lt;P&gt;Dale&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 00:16:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061040#M54122</guid>
      <dc:creator>Dale_S_Intel</dc:creator>
      <dc:date>2015-03-26T00:16:07Z</dc:date>
    </item>
    <item>
      <title>Dale, thanks for your quick</title>
      <link>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061041#M54123</link>
      <description>&lt;P&gt;Dale, thanks for your quick response.&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Here's a complete index.html file to show the problem: (knockoutjs can be downloaded at:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;A href="http://knockoutjs.com/)" target="_blank"&gt;http://knockoutjs.com/)&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;
	&amp;lt;html&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;lt;head&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;meta charset="UTF-8"&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;title&amp;gt;Blank App Designer Cordova Web App Project Template&amp;lt;/title&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;meta http-equiv="Content-type" content="text/html; charset=utf-8"&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=no"&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;style&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @-ms-viewport { width: 100vw ; min-zoom: 100% ; zoom: 100% ; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@viewport { width: 100vw ; min-zoom: 100% zoom: 100% ; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @-ms-viewport { user-zoom: fixed ; min-zoom: 100% ; } &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @viewport { user-zoom: fixed ; min-zoom: 100% ; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/style&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;link rel="stylesheet" href="css/app.css"&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;link rel="stylesheet" type="text/css" href="css/index_main.less.css" class="main-less"&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;script src="js/knockout-3.3.0.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;script src="cordova.js" id="xdkJScordova_"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;script src="js/app.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;script src="js/init-app.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;script src="xdk/init-dev.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;lt;/head&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;body&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div class="upage vertical-col" id="mainpage" data-role="page"&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div class="widget uib_w_1 d-margins" data-uib="media/text" data-ver="0"&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div class="widget-container left-receptacle"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div class="widget-container right-receptacle"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;button data-bind="click: resetData"&amp;gt;Click test&amp;lt;/button&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;strong data-bind="text: testStr"&amp;gt;Knockout bind failed&amp;lt;/strong&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;script&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;function VM_Mainpage(){&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;this.testStr = "Knockout bind worked";&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;this.resetData = function() {&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;alert("Click test button pressed");&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;ko.applyBindings(VM_Mainpage);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/script&amp;gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;lt;/body&amp;gt;&lt;BR /&gt;
	&amp;lt;/html&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 08:13:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061041#M54123</guid>
      <dc:creator>Gavin_M_1</dc:creator>
      <dc:date>2015-03-26T08:13:06Z</dc:date>
    </item>
    <item>
      <title>Hello Gavin,</title>
      <link>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061042#M54124</link>
      <description>&lt;P style="font-size: 13.0080003738403px; line-height: 15.609601020813px;"&gt;Hello Gavin,&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 15.609601020813px;"&gt;Your code works fine for me in the emulator with any template (App Designer or non-AD/ HTML5 or HTML5+ Cordova). Make sure your knockout.js is in the right location. Do you get any error message or the click is just ignored?&amp;nbsp;&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 15.609601020813px;"&gt;See the attached screenshot.&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 15.609601020813px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 15.609601020813px;"&gt;Swati&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2015 16:18:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061042#M54124</guid>
      <dc:creator>Swati_S_Intel1</dc:creator>
      <dc:date>2015-03-27T16:18:07Z</dc:date>
    </item>
    <item>
      <title>Swati,</title>
      <link>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061043#M54125</link>
      <description>&lt;P&gt;Swati,&lt;/P&gt;

&lt;P&gt;Thanks for your reply - I can see from your image that the alert does indeed happen.&lt;/P&gt;

&lt;P&gt;Knockoutjs file is included - I get the bind success message on screen. Any other idea why it might fail? I notice that I forgot to say that I'm running on linux.&lt;/P&gt;

&lt;P&gt;I could try upgrading my windows boot XDK to 1826 (I haven't so far since it still works), but can I regress if it has the same problem?&lt;/P&gt;

&lt;P&gt;Thanks &amp;nbsp; &amp;nbsp;Gavin&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 20:44:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061043#M54125</guid>
      <dc:creator>Gavin_M_1</dc:creator>
      <dc:date>2015-03-31T20:44:02Z</dc:date>
    </item>
    <item>
      <title>Swati, </title>
      <link>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061044#M54126</link>
      <description>&lt;P style="line-height: 19.5120010375977px;"&gt;Swati,&amp;nbsp;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;I took the risk of upgrading to build 1878 on my Windows machine (took a backup that I may have been able to regress to), my code works fine in that environment.&amp;nbsp;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;I also upgraded my Linux machine to 1878 - that still fails with exactly the same code (in my dropbox - not copied) - so I assume that there is an issue in the Linux XDK emulator? For now I can develop in Windows but Linux is my preferred environment.&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thanks &amp;nbsp; &amp;nbsp;Gavin&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 22:25:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061044#M54126</guid>
      <dc:creator>Gavin_M_1</dc:creator>
      <dc:date>2015-04-02T22:25:07Z</dc:date>
    </item>
    <item>
      <title>Gavin,</title>
      <link>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061045#M54127</link>
      <description>&lt;P&gt;Gavin,&lt;/P&gt;

&lt;P&gt;I don't know if this will help. I imported my Phonegap Build project that used Knockout.js 3.3.0 and Jqm 1.4.5 onto XDK 1878 running on Win 8.1 and the knockout click bindings work on the emulator.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 01:07:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/KnockoutJS-in-version-1826/m-p/1061045#M54127</guid>
      <dc:creator>Troy_B_</dc:creator>
      <dc:date>2015-04-03T01:07:43Z</dc:date>
    </item>
  </channel>
</rss>

