PDA

View Full Version : [FIXED] sencha command typos in generator templates



weitzj
28 Aug 2011, 5:37 AM
Sencha Version: 1.1.0

three typos if using sencha command with sencha-touch instead of extjs

Description


touch/jsbuilder/src/generators/app/templates/Viewport.js:

typo: tpl -> itemTpl



tpl : '<{tpl} for="."><div class="link"><strong>\{text\}</strong></div></{tpl}>',



should be:


itemTpl : '<{tpl} for="."><div class="link"><strong>\{text\}</strong></div></{tpl}>',


touch/jsbuilder/src/generators/app/files/index.html[*=1]css-resources:


<link rel="stylesheet" href="lib/touch/resources/css/ext-touch.css" type="text/css">



should be:



<link rel="stylesheet" href="lib/touch/resources/css/sencha-touch.css" type="text/css">


sencha-library include:

?<script type="text/javascript" src="lib/touch/ext-touch-debug.js"></script>



should be:



?<script type="text/javascript" src="lib/touch/sencha-touch-debug.js"></script>



Greetings,

Jan

mike.estes
29 Aug 2011, 8:00 AM
thanks for the report, I've made the changes for the next release