• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

[SOLVED] Sencha Touch Examples Missing?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] Sencha Touch Examples Missing?

    I noticed that the Sencha Touch example folder is missing from the Valence 3.2 release. Are there problems with the examples working through Valence? Why not include in the install? Just curious.

  • #2
    The base Sencha Touch examples are not included simply to minimize the Valence build size. You can run the examples and obtain the source directly from Sencha's website.

    Comment


    • #3
      Has anyone at CNX attempted to add the Sencha examples through Valence? They don't seem to work. Possible HTTP config?

      nvm, for anyone else interested, you will need to change 2 pieces of code:


      1. /sencha-touch-2.0.1.1/examples/index.html
      For the link and script href's, paste /sencha-touch/examples/ in front of resources.

      2. /sencha-touch-2.0.1.1/examples/resources/javascripts/application.js
      for the XMLHttpRequest(), paste /sencha-touch/examples/ in front of examples.json in the url property..
      for the element.innerHTML property assignment, add /sencha-touch/examples/ after the href= and after the img src=

      This should get it to work.
      Last edited by rkanemeier; 05-02-2013, 12:58 PM.

      Comment

      Working...
      X