Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    4
    Vote Rating
    0
    anthony.alteom is on a distinguished road

      0  

    Default Unanswered: Javascript error on production

    Unanswered: Javascript error on production


    Hello,

    I have a problem in production mode.
    I have no error / warning in development ou testing when I'm running my application with Chrome.
    There is no error / warning when I build with :

    Code:
    sencha app build production
    But when I launch the application, I got this javascript error

    Code:
    Error evaluating http://sencha.alteom.com/squarehabit...duction/app.js with message: SyntaxError: Unexpected identifier sencha.alteom.com:56
    I tried to replace the index.html with the file generated with the testing micro loader, and it works fine.
    Maybe there is a problem with the production micro loader ?

    I use the commercial 2.1.1 sdk and the sencha cmd 3.0.2 for Mac OS X.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,519
    Answers
    3447
    Vote Rating
    813
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Is this on an production build that is upgrading a previous version that is cached on the device?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Mar 2013
    Posts
    4
    Vote Rating
    0
    anthony.alteom is on a distinguished road

      0  

    Default


    I can reproduce the problem on all my devices : iPhone / iPad (Safari debugger), Android tablet. Same error with Chrome and Safari on my mac.

    My application is not in reel production yet. So I also tried to delete all files from the server, and reload the app on my device until I see a change. But when I upload the files, the same error happens.

    According to the version I try to build, the error can change.
    Sometimes Unexpected identifier, sometimes ) expected or ] expected. Sometimes, it just works fine.

    I think I have observed that an old configuration on a component can make the application to work in development or testing mode, but generates this kind of problem on production.

    Is that possible ?

  4. #4
    Sencha User
    Join Date
    Mar 2013
    Posts
    4
    Vote Rating
    0
    anthony.alteom is on a distinguished road

      0  

    Default


    I solved my problem by deleting the archive directory and launched the build command to build from scratch without deltas.

    But with another delta, the same error happens.

  5. #5
    Sencha User
    Join Date
    Mar 2013
    Posts
    4
    Vote Rating
    0
    anthony.alteom is on a distinguished road

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    Is this on an production build that is upgrading a previous version that is cached on the device?
    Ok I found how to test an upgrade on my device.
    The problem comes from the cache, when I drop the browser cache the upgrade works fine.

    Is there a process for an upgrade on iPad ?
    Because when the app is installed on the launchpad, there's no way to reload it without local cache.

Thread Participants: 1