Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: 1.6.08 – VanillaPress V 0.2 – Pages #30002
    Justin Estrada
    Participant

    Also my model.getPosts function works better like this:

    model.getPosts = function() {

    // var posts = JSON.parse( model.getLocalStore() )[‘posts’];
    var posts = model.getLocalStore();
    posts = posts[‘posts’];
    return posts;

    }

    Instead of the commented out line.

Viewing 1 post (of 1 total)