Categories
buzz

Trucut Barber EDC #yeg

1234567891011

“); $(‘#post-title’).addClass(‘transparent’); $(‘#number-trigger button’).click on(serve as() { $(this).toggleClass(‘lively’); $(‘#publish’).toggleClass(‘numbers-always’); }); } var timeoutObj; var popover = false; $(‘.numbers [rel=”popover”]’).each and every(serve as() { var self = this; var set off = $(this).to find(‘.quantity’); if($(this).records(‘title-only’) == true) { var content material = $(“

No acquire hyperlink for this merchandise.

“); content material.to find(‘h3’).textual content($(this).records(‘product’)); } else { var content material = $(“”); content material.to find(‘h3’).textual content($(this).records(‘product’)); content material.to find(‘.btn.extra’).attr(‘href’, $(this).records(‘url’)); content material.to find(‘.btn.purchase’).attr(‘href’, $(this).records(‘acquire’)); } if($(this).records(‘possessions’)) { content material.to find(‘.possessions’).textual content($(this).records(‘possessions’) + ($(this).records(‘possessions’) == 1 ? ” individual has this” : ” other people have this”)); } if($(this).records(‘likes’)) { content material.to find(‘.product-stats’).append(‘ ‘+$(this).records(‘likes’)+’‘); } if($(this).records(‘feedback’)) { content material.to find(‘.product-stats’).append(”); } if($(this).records(‘perspectives’)) { content material.to find(‘.product-stats’).append(‘ ‘+$(this).records(‘perspectives’)+’‘); } if(!content material.to find(‘.product-stats’).youngsters().duration) { content material.to find(‘.product-stats’).take away(); } $(this).unbind(‘click on.popover’).on(‘click on.popover’, serve as(e) { $(this).to find(‘.quantity’).popover(‘toggle’); }); set off.popover({set off: ‘guide’, html: true, ‘content material’: content material.html(), container: ‘#publish’}).on(‘display.bs.popover’, serve as() { if(popover) { $(popover).popover(‘conceal’); } popover = this; setTimeout(serve as() { $(self).addClass(‘centered’); var index = $(self).oldsters(‘.numbers’).to find(self).index(); console.log(index); $($(self).oldsters(‘.publish’).to find(‘.main points ol li’).get(index)).addClass(‘centered’).siblings(‘.centered’).removeClass(‘centered’); $(self).oldsters(‘.numbers’).addClass(‘preview’); $(file).on(“click on.poppy”, serve as(e) { if($(e.goal).is(self) || $(e.goal).oldsters(‘.popover’).duration) { console.log(e.goal); go back; } set off.popover(‘conceal’); }); }, 0); }).on(‘conceal.bs.popover’, serve as() { popover = false; $(file).unbind(“click on.poppy”); console.log(‘conceal’); console.hint(); setTimeout(serve as() { $(self).removeClass(‘centered grasp’); var index = $(self).oldsters(‘.numbers’).to find(self).index(); $($(self).oldsters(‘.publish’).to find(‘ol.pieces li’).get(index)).removeClass(‘centered grasp’); $(self).oldsters(‘.numbers’).removeClass(‘preview’); $(self).removeClass(‘centered grasp’); }, 0); }); });
});

Featured

Edmonton Alberta

11
Likes

2
Stocks

Who Likes This (11)



“); $(‘#thread-messages .message[data-id=”‘+comment.parent+'”]’).append(father or mother); } } if(!father or mother.duration) { go back; } var message = messageToHTML(remark); message.conceal(); if(remark.father or mother > 0) { father or mother.append(message); } else { father or mother.prepend(message); } message.fadeIn(); } serve as messageToHTML(remark) { var message = $(“

“); message.attr(‘data-id’, remark.identification); if(typeof remark.writer != ‘undefined’) { message.to find(‘.avatar a’).attr(‘href’, remark.writer[‘url’]); message.to find(‘.avatar img’).attr(‘src’, remark.writer[‘avatar’]); message.to find(‘.remark .main points .title’).html(remark.writer[‘name’]); } else { message.to find(‘.avatar a’).attr(‘href’, $(‘#userlinks .my-profile a’).attr(‘href’)); message.to find(‘.avatar img’).attr(‘src’, $(‘#userlinks .my-profile img’).attr(‘src’)); message.to find(‘.remark .main points .title’).textual content($(‘#userlinks .my-profile .username’).textual content()); } if(consumer && consumer.identification && typeof remark.writer != ‘undefined’ && remark.writer[‘id’] == consumer.identification) { message.to find(‘.movements’).append(“ Edit“); } message.to find(‘.remark .main points .timestamp a’).attr(‘href’, ‘#c’+remark.identification).attr(‘title’, ‘c’+remark.identification); if(typeof remark.timestamp != ‘undefined’) { message.to find(‘.remark .main points time’).attr(‘datetime’, remark.timestamp); } else (typeof new Date().toISOString == ‘serve as’) { message.to find(‘.remark .main points time’).attr(‘datetime’, new Date().toISOString()); } if(typeof remark.timeago != ‘undefined’) { message.to find(‘.remark .main points time’).textual content(remark.timeago); } if(typeof remark.likes != ‘undefined’) { message.to find(‘.favorites.quantity’).textual content(remark.likes); } var textual content = remark.textual content.change(/(?:(?:rn|r|n)s*){2}/g, “nn”).change(/rn/g, “
“).change(/n/g, “
“); message.to find(‘.remark phase’).html(textual content); go back message; } var stored = $.totalStorage(‘comment-173736’); if(stored && stored != ”) { $(‘#thread-new textarea’).val(stored); } $(‘#thread’).on(‘keyup focal point’, ‘.new-comment textarea’, serve as() { if($(this).val() != ”) { $(this).siblings(‘button’).display(); } else { $(this).siblings(‘button’).conceal(); } if($(this).oldsters(‘#thread-new’).duration) { saveComment($(this).val()); } }); $(‘#thread’).on(‘click on’, ‘.new-comment button’, serve as() { if(!consumer) { go back requireLogin(); } var self = this; var textual content = $(this).siblings(‘textarea’).val() if(textual content == ”) { go back; } var father or mother = $(this).oldsters(‘.new-comment’).attr(‘data-parent’); $.publish(base_url+”feedback/save”, { ‘validate’ : “1eae51e79c1d2bed2ad6e74bcef5da83”, ‘textual content’: textual content, ‘thread’: “173736”, ‘father or mother’ : father or mother}, serve as(outcome) { if(outcome.error) { bootbox.alert(outcome.error); } else if(outcome.good enough) { $(‘#thread-reply’).take away(); $(‘#thread-messages .no-comments’).take away(); saveComment(”); $(self).siblings(‘textarea’).val(”).set off(‘keyup’); addComment(outcome.remark); } }, ‘json’); }); var web page = 0; $(‘#thread-messages > .extra’).click on(serve as() { var extra = this; $.get(base_url + “feedback/extra”, { ‘thread’: “173736”, ‘web page’ : web page+1, ‘type’ : “well-liked” }, serve as(outcome) { if(outcome.good enough) { web page++; $.each and every(outcome.feedback, serve as(okay, v) { var message = messageToHTML(v); message.conceal(); if($(‘#thread-messages .message[data-id=”‘+message.data(‘id’)+'”]’).duration) { go back; } $(‘#thread-messages’).append(message); message.fadeIn(); if($.isArray(v.replies) && v.replies.duration > 0) { var $replies = $(“”); message.append($replies); $.each and every(v.replies, serve as(x, y) { var respond = messageToHTML(y); if($(‘#thread-messages .message[data-id=”‘+reply.data(‘id’)+'”]’).duration) { go back; } $replies.append(respond); }); } }); if(outcome.extra > 0) { $(extra).textual content(outcome.extra +” extra feedback”); $(‘#thread-messages’).append($(extra)); } else { extra.take away(); } } else if(typeof outcome.error != ‘undefined’) { bootbox.alert(outcome.error); } }, ‘json’); }); $(‘#thread-messages’).on(‘click on’, ‘.message .replies .extra’, serve as() { var replies = $(this).oldsters(‘.replies’); var extra = this; var p = parseInt($(replies).records(‘web page’) || 0); $.get(base_url + “feedback/extra”, { ‘father or mother’ : $(this).records(‘father or mother’), ‘thread’: “173736”, ‘web page’ : p+1, ‘type’ : “well-liked” }, serve as(outcome) { if(outcome.good enough) { replies.records(‘web page’, p+1); $.each and every(outcome.feedback, serve as(okay, v) { var message = messageToHTML(v); if($(‘#thread-messages .message[data-id=”‘+message.data(‘id’)+'”]’).duration) { go back; } message.conceal(); replies.append(message); message.fadeIn(); }); if(outcome.extra > 0) { $(extra).textual content(outcome.extra +” extra feedback”); replies.append($(extra)); } else { extra.take away(); } } else if(typeof outcome.error != ‘undefined’) { bootbox.alert(outcome.error); } }, ‘json’); }); $(‘#thread’).on(‘click on’, ‘.message .movements a’, serve as(e) { var self = this; var $message = $($(this).oldsters(‘.message’).get(0)); if($(this).attr(‘href’) == ‘#favourite’) { e.preventDefault(); if(!consumer) { go back requireLogin(); } $.publish(base_url + “favorites/upload”, { validate : “6d1ca3518b9a8d083147022c0fce15e3”, remark: $(this).oldsters(‘.message’).records(‘identification’) }, serve as(outcome) { if(outcome.good enough) { $(self).addClass(‘lively’).attr(‘href’, ‘#unfavorite’); $(self).to find(‘.quantity’).textual content(parseInt($(self).to find(‘.quantity’).textual content())+1); } }, ‘json’); } if($(this).attr(‘href’) == ‘#unfavorite’) { e.preventDefault(); if(!consumer) { go back requireLogin(); } $.publish(base_url + “favorites/take away”, { validate : “70b3588cbec043b19a53ddbeb3ec4538″, remark: $(this).oldsters(‘.message’).records(‘identification’) }, serve as(outcome) { if(outcome.good enough) { $(self).removeClass(‘lively’).attr(‘href’, ‘#favourite’); $(self).to find(‘.quantity’).textual content(Math.max(0, parseInt($(self).to find(‘.quantity’).textual content())-1)); } }, ‘json’); } if($(this).attr(‘href’) == ‘#edit’) { var textual content = $.trim($message.to find(‘phase’).textual content()); if(textual content == ”) { bootbox.alert(“Clean feedback don’t seem to be allowed. Please input a remark or cancel the edit.”) ; } $message.to find(‘phase’).html(“”); $message.to find(‘phase textarea’).textual content(textual content); $message.to find(‘phase’).to find(‘shape’).post(serve as(e) { e.preventDefault(); $.publish($(this).attr(‘action’), $(this).serialize(), serve as(outcome) { if(outcome.good enough == true) { $message.to find(‘phase’).html(outcome.html); } else { bootbox.alert(outcome.error); } }, ‘json’); }); $message.to find(‘button.cancel’).click on(serve as() { $message.to find(‘phase’).textual content(textual content); }); } if($(this).attr(‘href’) == ‘#respond’) { if($(‘#thread-reply’).duration) { if($(‘#thread-reply textarea’).val() != ”) { bootbox.verify(“You began a brand new respond however didn’t post it, in the event you get started a brand new one your development might be misplaced.”, serve as(verify) { if(verify) { var father or mother = $(‘#thread-reply’).father or mother(‘.replies’); $(‘#thread-reply’).take away(); $(self).set off(‘click on’); if(!father or mother.to find(‘.message’).duration) { father or mother.take away(); } } }); } else { var father or mother = $(‘#thread-reply’).father or mother(‘.replies’); $(‘#thread-reply’).take away(); if(!father or mother.to find(‘.message’).duration) { father or mother.take away(); } $(self).set off(‘click on’); } go back; } e.preventDefault(); var clone = $(‘#thread-new’).clone(true, true); clone.attr(‘identification’, ‘thread-reply’); clone.to find(‘textarea’).val(”); if($message.oldsters(‘.message’).duration > 1) { $message = $message.oldsters(‘.replies:first’); } else { if(!$message.to find(‘.replies’).duration) { $message.append(“”); } $message = $message.to find(‘.replies:first’); } clone.attr(‘data-parent’, $message.father or mother(‘.message’).records(‘identification’)); $message.append(clone); clone.to find(‘textarea’).focal point(); } if($(this).attr(‘href’) == ‘#conceal’) { e.preventDefault(); $.publish(base_url + “feedback/conceal”, { validate : “a9b39c840b13da755af55868b74c0abf”, remark: $(this).oldsters(‘.message’).records(‘identification’) }, serve as(outcome) { console.log($(self).oldsters(‘.message’)); if(outcome.good enough) { $(self).oldsters(‘.message:first’).fadeOut(); } }, ‘json’); } }); var saveTimer = false; serve as saveComment(textual content) { clearTimeout(saveTimer); saveTimer = setTimeout(serve as() { $.totalStorage(‘comment-173736’, textual content); }, 300); } $(‘#thread-options .dropdown .toggle’).click on(serve as(e) { e.preventDefault(); $(this).oldsters(‘.dropdown’).toggleClass(‘lively’); var self = this; setTimeout(serve as() { $(file).one(‘click on’, serve as() { $(self).oldsters(‘.dropdown’).removeClass(‘lively’); }); }, 0); }); });