Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Custom DateTimeInput helper method obfuscated

    For dateTimeInput format we wrote our own formatter that takes millisecond into account. Within the process a call is made to the helper Date._splitDateString(). to split up the text into an array. Everything worked fine until we used the obfuscated version of smartclient js libraries that all methods beginning with '_' are obfuscated. I understand that some functions are better not to be exposed but this one is merely a helper that is very helpful in creating our own dateTime input formatter (Another example will be _canExportField() of DataBoundComponent).
    Is there any way to get around this?
    Thanks

    #2
    Sorry, but the answer is to simply write your own version of that helper method. _splitDateString is intentionally an internal method.

    Comment

    Working...
    X