extjs - Include deprecated code with Sencha Cmd -


Piece of code into framework files

  // < Deprecated product = touch since = 2.0 & gt; If (Ext.isObject (configObj) & amp; amp; amp; ...) {...} // & lt; / Deprecated & gt;  

My problem is, when I use Syntactic CMD, especially sencha app build test all the excluded code resulted in the app.js file, and because of that I have many bugs.

BTW, I can not remove / upgrade code that requires refracted sections (for reasons beyond the scope of this question).

How can I include a deprecated code with the sencha app build command (or similar)?

Thank you

PS: I'm using Touch 2.2.1 (though I think it also applies to ExtJs) and Senka CMD 3.1 if it helps Then

I got the solution

  sencha config --prop build .options.minVersion = 0 Then the app build test  

This code gives the command to degrade all versions> = 0, which means ... all.

This can also be configured in a config file, for example:

  build.options.minverions = 0  

In the sencha.cfg or any of the config files.

Hope this helps someone


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -