<commit_before>/**
 * Created by anonymous on 28/12/15 14:35.
 */

(function() {
    'use strict';

    angular
        .module('jwtAuth')
        .factory('phonesService', phonesService);

    phonesService.$inject = [];

    /* @ngInject */
    function phonesService() {
        var service = {
            phone     : phone(),
            flComplete: flComplete()
        };

        return service;

        ////////////////

        function phone() {
            var ph = {
                ct: {
                    options: {
                        pk          : 'id',
                        refreshBtn  : true,
                        addRecord   : addRecord,
                        actionsCol  : true,
                        editRecord  : editRecord,
                        deleteRecord: deleteRecord,
                        deleteRows  : deleteRows,
                        cols        : [
                            {field: 'age', title: 'ID'},
                            {field: 'name', title: 'Name'},
                            {field: 'snippet', title: 'Description', sortable: false}
                        ],
                        filters     : [
                            {field: 'age', title: 'ID', condition: 'eq'},
                            {field: 'name', title: 'Name', condition: 'like_b', options: {insensitive: true}},
                            {
                                field    : 'snippet',
                                title    : 'Description',
                                condition: 'like_b',
                                options  : {insensitive: true}
                            }
                        ],
                        pagesizes   : [5, 10, 20],
                        debug       : true,
                        displayField: displayField
                    }
                },

                fl: {
                    options: {
                        listURL           : 'desserts.json',
                        method            : 'GET',
                        urlencoded        : true,
                        pagesize          : 5,
                        orderby           : [
                            {field: 'name', type: 'asc'}
                        ],
                        sortOnClient      : true,
                        paginationOnClient: true,
                        searchOnClient    : true
                        // Enable log
                        ,log: {id: 'phonesService', err: true, debug: true}
                    }
                }
            };

            return ph;
        }<commit_msg>Update phones.service<commit_after>/**
 * Created by anonymous on 28/12/15 14:35.
 */

(function() {
    'use strict';

    angular
        .module('jwtAuth')
        .factory('phonesService', phonesService);

    phonesService.$inject = [];

    /* @ngInject */
    function phonesService() {
        var service = {
            phone     : phone(),
            flComplete: flComplete()
        };

        return service;

        ////////////////

        function phone() {
            var ph = {
                ct: {
                    options: {
                        pk          : 'id',
                        refreshBtn  : true,
                        addRecord   : addRecord,
                        actionsCol  : true,
                        editRecord  : editRecord,
                        deleteRecord: deleteRecord,
                        deleteRows  : deleteRows,
                        cols        : [
                            {field: 'age', title: 'ID'},
                            {field: 'name', title: 'Name'},
                            {field: 'snippet', title: 'Description', sortable: false}
                        ],
                        filters     : [
                            {field: 'age', title: 'ID', condition: 'eq'},
                            {field: 'name', title: 'Name', condition: 'like_b', options: {insensitive: true}},
                            {
                                field    : 'snippet',
                                title    : 'Description',
                                condition: 'like_b',
                                options  : {insensitive: true}
                            }
                        ],
                        pagesizes   : [5, 10, 20],
                        debug       : true,
                        displayField: displayField
                    }
                },

                fl: {
                    options: {
                        listURL           : 'desserts.json',
                        method            : 'GET',
                        urlencoded        : true,
                        pagesize          : 5,
                        orderby           : [
                            {field: 'name', type: 'asc'}
                        ],
                        sortOnClient      : true,
                        paginationOnClient: true,
                        searchOnClient    : true
                        // Enable log
                        //,log: {id: 'phonesService', err: true, debug: true}
                    }
                }
            };

            return ph;
        }
{'fraction_non_alphanumeric': 0.09771428571428571, 'fraction_numerical': 0.006095238095238095, 'mean_word_length': 0.68032, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5706030', 'n_tokens_mistral': 1185, 'n_tokens_neox': 1067, 'n_words': 253}