【问题标题】:how to disable delta update in Sencha Touch app?如何在 Sencha Touch 应用程序中禁用增量更新?
【发布时间】:2014-12-03 14:07:28
【问题描述】:

我正在使用 Sencha Architect 编写我的 sencha touch 应用程序。在尝试手动更新我的 app.json 以将“update”:“delta”更改为“update”:“full”之后。但每次我构建项目时,我发现 Sencha Architect 附加了一些东西来“添加”更新“:”三角洲“”回来。如何禁用我的 sencha touch 应用程序的增量更新?下面是我的 app.json。很明显,Sencha Archite(或 Sencha cmd)将相同的 css 配置附加到我的配置并添加了“update”:“delta”。

"css": [
      {
         "update": "full",
         "platform": [
            "phone",
            "tablet",
            "desktop"
         ],
         "theme": "Default",
         "path": "resources/css/sencha-touch-b7bf9d92-8863-494c-b8c7-7c423a420d33.css"
      },
      {
         "update": "delta",
         "platform": [
            "phone",
            "tablet",
            "desktop"
         ],
         "theme": "Default",
         "path": "resources/css/sencha-touch-b7bf9d92-8863-494c-b8c7-7c423a420d33.css"
      }
   ],

我的 .sencha/app/sencha.cfg 文件内容 app.name=MyMusicBox

app.framework=touch

app.classpath=${app.dir}/app.js,${app.dir}/app

# this property specifies a comma separated list of paths containing
# resources to copy to the build directory
app.resource.paths=

app.build.dir=${workspace.build.dir}/${app.name}

app.framework.version=2.4.0.487
app.cmd.version=5.0.3.324

【问题讨论】:

  • 你找到答案了吗?

标签: javascript extjs sencha-touch sencha-cmd


【解决方案1】:

从 app.json 中删除 "update":"full"

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-09-12
    • 1970-01-01
    • 1970-01-01
    • 2013-01-05
    • 1970-01-01
    • 2012-05-22
    相关资源
    最近更新 更多