Results 1 to 3 of 3

Thread: Reverse Sencha's cmd minification process

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    107

    Default Answered: Reverse Sencha's cmd minification process

    I have a single question. Is it possible to reverse the minifying/deploying process conducted by senchas cmd "sencha generate app" command? What I want to do is to recover the source files from the minified-unified app.js. Im asking this because I suffered a full RAID damage on my applications backups.

  2. Sorry to hear about your data loss. I don't believe Cmd has a reverse procedure for minification, because it is a one-way conversion. As I understand it, variable names are simplified to single characters, etc., making undoing it difficult. Do you have any luck with something like jsbeautifier?
    http://jsbeautifier.org/

    Perhaps you can leverage that open-sourced code to rebuild your application.

  3. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Sorry to hear about your data loss. I don't believe Cmd has a reverse procedure for minification, because it is a one-way conversion. As I understand it, variable names are simplified to single characters, etc., making undoing it difficult. Do you have any luck with something like jsbeautifier?
    http://jsbeautifier.org/

    Perhaps you can leverage that open-sourced code to rebuild your application.

  4. #3
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    107

    Default

    Oh my!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •