1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    5
    Vote Rating
    0
    DeLongey is on a distinguished road

      0  

    Default How do I structure and place plugin components for Sencha Touch 2?

    How do I structure and place plugin components for Sencha Touch 2?


    (Also posted a StackOverflow, but then I found this forum thankfully, ref: http://stackoverflow.com/questions/1...sencha-touch-2)

    Just started using Sencha Touch 2 and wanted to integrate the Leaflet extension (Leaflet maps are awesome for those looking) https://github.com/VinylFox/Ext.ux.t...ree/master/src.
    I've just started using Sencha 2, and wasn't able to find in the documentation where to drop in and reference such extensions. What's the file structure and reference code necessary to do so? Does it just go anywhere and I reference it in app.js?

    I am a n00b and did not use Sencha 1 so your help is appreciated.

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    5
    Vote Rating
    0
    DeLongey is on a distinguished road

      0  

    Default


    Someone was able to shed some light on Ext.Loader and how it fits into the bigger picture. I realized it was mostly a conceptual issue for me.

    Taking the Leaflet extension above, the Ext.Loader is basically the tool to load what someone might call a "plugin" in layman terms.
    http://www.sencha.com/blog/using-ext-loader-for-your-application/

    So in app.jsuse Ext.Loader to load the plugin via:

    Code:
    Ext.Loader.setConfig({    enabled : true,    paths   : {        'Ext.Leaflet': './Ext.ux.touch.Leaflet/Ext.ux.touch.Leaflet.js'    }});Ext.require('Ext.Leaflet');

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..."