<commit_before>/*jslint nomen:true*/
/*jshint devel:true*/
/*global define, console*/
define(function (require) {
    'use strict';

    var _               = require('underscore'),
        Backbone        = require('backbone'),
        Chaplin         = require('chaplin'),
        moment          = require('moment'),
        __              = require('orotranslation/js/translator'),
        messenger       = require('oroui/js/messenger'),
        mediator        = require('oroui/js/mediator'),
        LoadingMask     = require('oroui/js/loading-mask'),
        EventCollection = require('orocalendar/js/calendar/event/collection'),
        EventModel      = require('orocalendar/js/calendar/event/model'),
        EventView       = require('orocalendar/js/calendar/event/view'),
        ConnectionView  = require('orocalendar/js/calendar/connection/view'),
        eventDecorator  = require('orocalendar/js/calendar/event-decorator'),
        ColorManager    = require('orocalendar/js/calendar/color-manager'),
        colorUtil       = require('oroui/js/tools/color-util'),
        dateTimeFormatter = require('orolocale/js/formatter/datetime'),
        localeSettings  = require('orolocale/js/locale-settings');

        require('jquery.fullcalendar');

    var $ = Backbone.$;

    /**
     * @export  orocalendar/js/calendar-view
     * @class   orocalendar.Сalendar
     * @extends Backbone.View
     */
    return Chaplin.View.extend({
        MOMENT_BACKEND_FORMAT: localeSettings.getVendorDateTimeFormat('moment', 'backend', 'YYYY-MM-DD HH:mm:ssZZ'),
        /** @property */
        eventsTemplate: _.template(
            '<div>' +
                '<div class="calendar-container">' +
                    '<div class="calendar"></div>' +
                    '<div class="loading-mask"></div>' +
                '</div>' +
            '</div>'
        ),

        /** @property {Object} */
        selectors: {
            calendar:           '.calendar',
            loadingMask:        '.loading-mask',<commit_msg>BAP-5595: calendar on mobile devices<commit_after>/*jslint nomen:true*/
/*jshint devel:true*/
/*global define, console*/
define(function (require) {
    'use strict';

    var _               = require('underscore'),
        Backbone        = require('backbone'),
        moment          = require('moment'),
        __              = require('orotranslation/js/translator'),
        messenger       = require('oroui/js/messenger'),
        mediator        = require('oroui/js/mediator'),
        LoadingMask     = require('oroui/js/loading-mask'),
        BaseView        = require('oroui/js/app/views/base/view'),
        EventCollection = require('orocalendar/js/calendar/event/collection'),
        EventModel      = require('orocalendar/js/calendar/event/model'),
        EventView       = require('orocalendar/js/calendar/event/view'),
        ConnectionView  = require('orocalendar/js/calendar/connection/view'),
        eventDecorator  = require('orocalendar/js/calendar/event-decorator'),
        ColorManager    = require('orocalendar/js/calendar/color-manager'),
        colorUtil       = require('oroui/js/tools/color-util'),
        dateTimeFormatter = require('orolocale/js/formatter/datetime'),
        localeSettings  = require('orolocale/js/locale-settings');

        require('jquery.fullcalendar');

    var $ = Backbone.$;

    /**
     * @export  orocalendar/js/calendar-view
     * @class   orocalendar.Сalendar
     * @extends Backbone.View
     */
    return BaseView.extend({
        MOMENT_BACKEND_FORMAT: localeSettings.getVendorDateTimeFormat('moment', 'backend', 'YYYY-MM-DD HH:mm:ssZZ'),
        /** @property */
        eventsTemplate: _.template(
            '<div>' +
                '<div class="calendar-container">' +
                    '<div class="calendar"></div>' +
                    '<div class="loading-mask"></div>' +
                '</div>' +
            '</div>'
        ),

        /** @property {Object} */
        selectors: {
            calendar:           '.calendar',
            loadingMask:        '.loading-mask',
{'fraction_non_alphanumeric': 0.1466861598440546, 'fraction_numerical': 0.0009746588693957114, 'mean_word_length': 2.1216730038022815, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '829082', 'n_tokens_mistral': 1159, 'n_tokens_neox': 1139, 'n_words': 161}