Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sencha touch 是否在cache.manifest中包含多个js文件?_Sencha Touch_Extjs_Manifest_Offline Caching - Fatal编程技术网

Sencha touch 是否在cache.manifest中包含多个js文件?

Sencha touch 是否在cache.manifest中包含多个js文件?,sencha-touch,extjs,manifest,offline-caching,Sencha Touch,Extjs,Manifest,Offline Caching,我正在使用MVC格式的sencha touch 2。我已创建cache.manifest文件以使我的应用程序脱机 CACHE MANIFEST index.html app.js guide.css app/model/Contact.js app/model/Injury.js app/view/IncidentForm.js app/view/Home.js app/view/DivisionSelect.js app/view/InjuryResponse.js app/view/Eme

我正在使用MVC格式的sencha touch 2。我已创建cache.manifest文件以使我的应用程序脱机

CACHE MANIFEST

index.html
app.js
guide.css
app/model/Contact.js
app/model/Injury.js
app/view/IncidentForm.js
app/view/Home.js
app/view/DivisionSelect.js
app/view/InjuryResponse.js
app/view/EmergencyContact.js
app/controller/Core.js
i/amcor-app-bg@2.png
i/amcor-bg-logo@2.png
i/amcor-logo.png
i/amcor-tb-logo2x.png
i/arrow_right.png
i/ec-icon@2.png
i/home_icon.png
i/in-icon@2.png
i/ir-icon2x.png
i/ir-icon@2.png
i/ir-toolbar-bg2x.png



st2/builds/sencha-touch-all-compat.js
st2/resources/css/sencha-touch.css

NETWORK:
*

我的问题是cache.manifest文件似乎无法识别除app.js之外的任何js文件。当我在线工作时,它似乎可以正常缓存,但当我离线时,缓存只返回index.html、app.js和sencha文件。cache.manifest文件只能有一个.js文件吗?

您真的应该尝试使用cache.manifest文件,这样您就不必担心了

Microloader有助于保持事物的最新状态

它的错误检查输出有点轻,您必须遵守SDK工具创建的MVC应用程序布局,但一旦它运行,“它就可以工作了”

如果“compile”挂起,则可能缺少一个ref