%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/data/old/home/stash/atlassian-stash/static/feature/comments/
Upload File :
Create Path :
Current File : //proc/985914/root/data/old/home/stash/atlassian-stash/static/feature/comments/comments-min.js

define("feature/comments",["jquery","feature/comments/activity-comment-context","feature/comments/anchors","feature/comments/comment-tips","feature/comments/diff-comment-context"],function(E,A,D,F,C){var B={CREATE_NEW:"create-new",REPLY_ONLY:"reply-only",READ:"read",NONE:"none"};return E.extend({bindContext:function(L,H,G){if(L.data("comment-context")){throw new Error("Duplicate comment context registered.")}var K=G&&(G.commentMode===B.READ||G.commentMode===B.CREATE_NEW||G.commentMode===B.REPLY_ONLY);var J=G&&G.commentMode===B.CREATE_NEW;G=E.extend({el:L[0],anchor:H,allowCommenting:J,showComments:K},G);var I=H instanceof D.DiffAnchor?new C(G):new A(G);L.data("comment-context",I);return I},updateContext:function(H){var G=H.data("comment-context");if(G){G.checkForNewContainers()}},unbindContext:function(H){var G=H.data("comment-context");if(G){G.destroy()}},commentMode:B},D,F)});

Zerion Mini Shell 1.0