1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    46
    Answers
    3
    Vote Rating
    0
    celwell is on a distinguished road

      0  

    Default Answered: Problems with SDK Tools Build Command

    Answered: Problems with SDK Tools Build Command


    Hi, I started using the, what seems to be, more 'proper' method of deploying sencha touch apps:
    "sencha app create" & "sencha app build".
    Rather than simply including the script, sencha-touch-all.js.
    I was interested in optimizing my app, getting it smaller and faster for deployment. Unfortunately, the switch caused several problems. Some tabs in one of the tabpanels no longer show. In a different one of my tabpanels one of the tabs does not show its card. All of my Ext.Panel's that are "modal: true" are not actually modal. I suspect I'm not doing the requires stuff correctly... because, as I said, I was earlier using sencha-touch-all.js when it worked the way I wanted.


    Here is my app.js (app.coffee). Let me know what other code you need.
    Code:
    Ext.application
      name: 'WSI'
      requires: [
        'Ext.TitleBar'
        'Ext.picker.Picker'
        'Ext.picker.Date'
        'Ext.plugin.ListPaging'
        'Ext.plugin.PullRefresh'
        'Ext.SegmentedButton'
        'Ext.field.Search'
        'Ext.dataview.List'
        'Ext.field.TextArea'
        'Ext.form.FieldSet'
        'Ext.form.Panel'
        'Ext.field.DatePicker'
        'Ext.field.Select'
        'Ext.field.Toggle'
        'Ext.Anim'
        'Ext.MessageBox'
      ]
      models: [
        'Event'
        'Photo'
        'Video'
        'Comment'
      ]
      stores: [
        'Events'
        'Photos'
        'Videos'
        'Comments'
      ]
      controllers: [
        'Events'
        'Account'
        'YouTube'
      ]
      views: [
        'Main'
        'EventsList'
        'AccountContainer'
      ]
      launch: ->
        Ext.Viewport.add [
          Ext.create 'WSI.view.TopToolbar'
          Ext.create 'WSI.view.PrimaryCommandsActionSheet'
          Ext.create 'WSI.view.Main'
        ]

  2. Fixed the modal panels problem! When I started using the sencha command to create and build it used a different app.css. When I used my old css generate from my old scss file everything worked. I guess the default scss is more restrictive and doesn't '@include' a bunch of things I needed.

  3. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    46
    Answers
    3
    Vote Rating
    0
    celwell is on a distinguished road

      0  

    Default


    I've fixed the tabs. I packaged the views that the tabs were supposed to bring up into containers with layout type of card.

    I still have the issue with the not-so-modal panels.

  4. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    46
    Answers
    3
    Vote Rating
    0
    celwell is on a distinguished road

      0  

    Default


    Fixed the modal panels problem! When I started using the sencha command to create and build it used a different app.css. When I used my old css generate from my old scss file everything worked. I guess the default scss is more restrictive and doesn't '@include' a bunch of things I needed.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi