Skip to content

Feature Request: updateLinkedJSON() Function #12

Open
@bluedevil2k

Description

@bluedevil2k

I just finished an article on this plugin and wanted to pass along some things I thought could make it easier to work with. Right now I think the plugin is somewhat tough to use in that it exposes only 2 functions and doesn't offer a lot of helper functions (Ignoring the fact that the documentation isn't up to date).

First feature request - a function called updateLinkedJSON(json, dataObj)

Basically, a utility function in the plugin that does this

$.each(json, function(key, value){
$(dataObj).data(key, value );
});

and be called in an example like this:

$.get("ajax.jsp", {}, function(data){
updateLinkedJSON(data, dataObj);
}, "json");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions