Jump to content

Handling features during "build time"


plicatibu
 Share

Recommended Posts

C/C++ have a feature I love: defines.

 

Java, on the other hand, doesn't have it. Thank to a antenna I'm able to use defines and with the same code base generate binaries specific for J2ME MIDP1 / MIDP2 and BlackBerry, enabling or not many features like SMS, support for touch devices and so on.

 

I'm wondering whether there is such a project to enable / disable insertion of code during build time for JavaScript with something similar to defines.

 

Regards.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...