Hybrid View

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Bhubaneswar, India
    Posts
    5
    Vote Rating
    0
    geektantra is on a distinguished road

      0  

    Exclamation Unanswered: How to use Touch Charts 2 Beta with Microloader?

    Unanswered: How to use Touch Charts 2 Beta with Microloader?


    How to use Touch Charts 2 Beta with Microloader in the Sencha Touch 2 development environment?

    I have tried copying the src directory of Touch-Charts-2 Beta to the sdk/src, tried including touch-charts.js in the app.json still no luck.

    An example would help.

  2. #2
    Sencha User
    Join Date
    Aug 2011
    Posts
    6
    Vote Rating
    0
    srinu9504 is on a distinguished road

      0  

    Default It worked for me but I get [ERROR] sencha app build production

    It worked for me but I get [ERROR] sencha app build production


    So the way I was able to make it work was:

    1. Copied touch-charts src from beta 2.0 release to src for touch 2.0
    2. Also copied touch-charts in sdk folder
    2. In app.json, I added touch-charts.js
    "js": [
    {
    "path": "sdk/sencha-touch.js"
    },
    {
    "path": "sdk/touch-charts.js"
    },
    {
    "path": "app.js",
    "update": "delta"
    }
    ],
    3. In app.'s added the following
    Ext.Loader.setConfig({
    enabled: true
    });
    Ext.Loader.setPath({
    'Ext': 'sdk/src'

    });
    4. In index.html, to debug and use cache added the following below
    <scriptid="microloader"type="text/javascript"src="sdk/microloader/development.js"></script>


    <scripttype="text/javascript">
    Ext.Loader.setConfig('disableCaching', false);
    </script>

    But my problem is:

    I would like to build a production build, So when I run
    sencha app build production
    LDBTest smocker$ sencha app build production
    [INFO] Deploying your application to codebase/dashboards/ldashboard/war/LDBTest/build/production
    [INFO] Copied sdk/sencha-touch.js
    [INFO] Copied app.js
    [INFO] Copied resources/css/app.css
    [INFO] Copied resources/images
    [INFO] Copied resources/icons
    [INFO] Copied resources/loading
    [INFO] Resolving your application dependencies...
    [ERROR]

    Instead of having touch-charts.js as separate file, I appended the contents to the end of sencha-touch.js, but that also did not resolve anything.

    Can anyone tell me how to resolve this problem or get more information than just the [ERROR]



  3. #3
    Sencha User
    Join Date
    Nov 2011
    Location
    Bhubaneswar, India
    Posts
    5
    Vote Rating
    0
    geektantra is on a distinguished road

      0  

    Default


    Can you provide a sample View code which worked for you?

    I tried to use the Energy App and other examples provided with Touch Charts Beta 2 but got Errors like the following:

    Uncaught TypeError: Cannot read property 'pseudos' of undefined
    /sdk/touch-charts.js:7044




  4. #4
    Sencha Premium Member
    Join Date
    Dec 2010
    Location
    Auckland, NZ
    Posts
    56
    Answers
    3
    Vote Rating
    15
    superstructor will become famous soon enough

      0  

    Default


    See the previous thread here where myself and others have gotten charts to work with module loading - http://www.sencha.com/forum/showthre...-Now-Available

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