/** @jsx m */

"use strict";

var _ = require("underscore");

var CurateBaseModel = require("./CurateBaseModel.js");
var CommentModel = require("./CommentModel.js");

var LinkModel = CurateBaseModel.extend({
  name: "Link",
  relations: {
    comments: {type: "many", model: CommentModel, urlAction: "comments"},
  },
  urlRoot: "/links",
  defaults: {
    name: "",
    url: "",
    comments: [
      {comment: "This link has a comment"},
      {comment: "This link has a second comment"}
    ]
  }
});


module.exports = LinkModel;

@@ -375,125 +375,8 @@
 : %22%22
-,%0A    comments: %5B%0A      %7Bcomment: %22This link has a comment%22%7D,%0A      %7Bcomment: %22This link has a second comment%22%7D%0A    %5D
 %0A  %7D

remove default comments