Arrow_left   Arrow_right
 
  #1

manual dependency specifying function (js_depends_on)

    • Created on: Sun, 01 Jun 2008 (over 3 years ago)
    • Reported by: Nanodeath
    • Assigned to: Nanodeath
    • Milestone: -
    • Status: Accepted
    • Priority: Normal (3)
    • Component: -
    • Work remaining: 0.3 hours
    This needs to be created so that...say, if a page doesn't have any link_to_remote's on it, but then you use some other mechanism to AJAX in some content that DOES contain a link_to_remote. This normally wouldn't work because the header coded needed to enable the functionality of link_to_remote's would never have been loaded. This would just be a "js_depends_on(:method, :link_to_remote)" sort of thing that would call the process_dependency method in the parent library class.
  • Followers
     
    Ico-users Nanodeath (Assigned To) 
     
    Attachments
    No attachments
    Associations
     
    No associations
    Activity
    Time Expenditure
    Loading