Ability to Persist Javascript Object Extensions

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3
    • Component/s: JavaScript
    • None
    • Environment:
      Ubuntu 9.10, Ruby, Rails, MongoMapper
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      It would be awesome if we could do things like the following:
      Array.prototype.custom_func=function

      {...}

      .

      Currently this can be done using db.eval(), but it doesn't persist from connection to connection. It would be great if there were a way to make it persist.

            Assignee:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            Elliot Cohen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: