Threaded View

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    81
    Vote Rating
    5
    mpost is on a distinguished road

      0  

    Default Sencha Cmd chokes on third party class

    Sencha Cmd chokes on third party class


    I have a number of Ext classes that extend a third party component, Leaftlet map. For example:

    PHP Code:
    Ext.define('MyApp.map.GeoIcon'
       {
            
    extend:L.Icon,
             ...
       } 
    where L.Icon comes from Leaflet.

    In my HTML page, I have the following script tags:

    PHP Code:
    <script src="lib/extjs/ext-debug.js"></script>
    <script src="lib/leaflet/leaflet.js"></script>
    <script src="app/app.js"></script> 
    This app loads and works just fine. However, the "sencha compile" command is choking on these derived classes. (Compile was barfing on a particular file. I commented out all references to the Leaftlet API and the compiler proceeded to barf on the next file.) I'm using the following command line:

    PHP Code:
    sencha compile -classpath=lib/extjs/src,lib/leaftlet,app page -yui -in app.html -out cmd/app.html 
    How can I make sencha cmd happy in this case? I'm open to modifying the above code, but I don't see a way to either require the third party code or configure the loader to understand it.
    Last edited by mpost; 12 Nov 2012 at 9:37 PM. Reason: fix code blocks

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar