<commit_before>/* 
 * Implementation of the widgets and their functionalities
 */

//Loading widgets
$(function(){
    var widgets = new Widgets();
    widgets.init();
});

var Widgets = function()
{
    /**
     * Initialize the widgets
     */
    this.init = function()
    {
        lb = new LoginBox("wsn", "msg");
        lb.bind();
    }
}


var LoginBox = function(formId,msgId)
{
    _fid = formId;
    _mid = msgId;
    /**
     * Bind fancybox
     */
    this.bind = function()
    {
        $("#" + _fid).fancybox({
            'scrolling'		: 'no',
            'titleShow'		: false,
            'onStart'               : function() {
            },
            'onClosed'		: function() {
                $("#" + _mid).hide();
            }
        });
    }
}<commit_msg>Adding login form,fancybox resources<commit_after>/* 
 * Implementation of the widgets and their functionalities
 */

//Loading widgets
$(function(){
    var widgets = new Widgets();
    widgets.init();
});  

var Widgets = function()
{
    /**
     * Initialize the widgets
     */
    this.init = function()
    {
        lb = new LoginBox("wsn", "msg");
        lb.bind();
    }
}


var LoginBox = function(formId,msgId)
{
    _fid = formId;
    _mid = msgId;
    /**
     * Bind fancybox
     */
    this.bind = function()
    {
        $("#" + _fid).fancybox({
            'scrolling'		: 'no',
            'titleShow'		: false,
            'onStart'               : function() {
            },
            'onClosed'		: function() {
                $("#" + _mid).hide();
            }
        });
    }
}
{'fraction_non_alphanumeric': 0.160075329566855, 'fraction_numerical': 0.0, 'mean_word_length': 1.5221518987341771, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5746814', 'n_tokens_mistral': 520, 'n_tokens_neox': 513, 'n_words': 103}