<commit_before>/*
 * Copyright (c) 1997-2013, SalesLogix, NA., LLC. All rights reserved.
 */
define('Mobile/SalesLogix/Views/ErrorLog/Detail', [
    'dojo/_base/declare',
    'dojo/_base/json',
    'dojo/string',
    'Mobile/SalesLogix/Format',
    'Sage/Platform/Mobile/ErrorManager',
    'Sage/Platform/Mobile/Detail'
], function(
    declare,
    json,
    string,
    format,
    ErrorManager,
    Detail
) {

    return declare('Mobile.SalesLogix.Views.ErrorLog.Detail', [Detail], {
        //Localization
        titleText: 'Error Log',

        detailsText: 'Details',
        errorDateText: 'date',
        errorDateFormatText: 'MM/DD/YYYY hh:mm A',
        statusTextText: 'error',
        urlText: 'url',

        moreDetailsText: 'More Details',
        severityText: 'severity',
        statusCodeText: 'status code',
        errorText: 'error',

        emailSubjectText: 'Error received in Sage SalesLogix Mobile Client',
        copiedSuccessText: 'Copied to clipboard',

        //Templates
        longDetailProperty: new Simplate([
            '<div class="row note-text-row" data-property="{%= $.name %}">',
            '<label>{%: $.label %}</label>',
            '<pre>',
            '{%= $.value %}',
            '</pre>',
            '</div>'
        ]),
        copyButtonTemplate: new Simplate([
            '<div class="copyButton button toolButton toolButton-right">',
            '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="40" height="36" id="errorlog-detail-copy">',
            '<param name="movie" value="content/clippy.swf"/>',
            '<param name="allowScriptAccess" value="always" />',
            '<param name="quality" value="high" />',
            '<param name="scale" value="noscale" />',
            '<param name="FlashVars" value="{%= $.flashVars %}" />',
            '<param name="wmode" value="transparent" />',
            '<embed src="content/clippy.swf" width="45" height="36" scale="noscale" name="clippy" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="{%= $.flashVars %}" wmode="transparent" />',
            '</object>',
            '</div>'
        ]),


        //View Properties
        id: 'errorlog_detail',<commit_msg>Changing Sage SalesLogix to Saleslogix<commit_after>/*
 * Copyright (c) 1997-2013, SalesLogix, NA., LLC. All rights reserved.
 */
define('Mobile/SalesLogix/Views/ErrorLog/Detail', [
    'dojo/_base/declare',
    'dojo/_base/json',
    'dojo/string',
    'Mobile/SalesLogix/Format',
    'Sage/Platform/Mobile/ErrorManager',
    'Sage/Platform/Mobile/Detail'
], function(
    declare,
    json,
    string,
    format,
    ErrorManager,
    Detail
) {

    return declare('Mobile.SalesLogix.Views.ErrorLog.Detail', [Detail], {
        //Localization
        titleText: 'Error Log',

        detailsText: 'Details',
        errorDateText: 'date',
        errorDateFormatText: 'MM/DD/YYYY hh:mm A',
        statusTextText: 'error',
        urlText: 'url',

        moreDetailsText: 'More Details',
        severityText: 'severity',
        statusCodeText: 'status code',
        errorText: 'error',

        emailSubjectText: 'Error received in Saleslogix Mobile Client',
        copiedSuccessText: 'Copied to clipboard',

        //Templates
        longDetailProperty: new Simplate([
            '<div class="row note-text-row" data-property="{%= $.name %}">',
            '<label>{%: $.label %}</label>',
            '<pre>',
            '{%= $.value %}',
            '</pre>',
            '</div>'
        ]),
        copyButtonTemplate: new Simplate([
            '<div class="copyButton button toolButton toolButton-right">',
            '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="40" height="36" id="errorlog-detail-copy">',
            '<param name="movie" value="content/clippy.swf"/>',
            '<param name="allowScriptAccess" value="always" />',
            '<param name="quality" value="high" />',
            '<param name="scale" value="noscale" />',
            '<param name="FlashVars" value="{%= $.flashVars %}" />',
            '<param name="wmode" value="transparent" />',
            '<embed src="content/clippy.swf" width="45" height="36" scale="noscale" name="clippy" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="{%= $.flashVars %}" wmode="transparent" />',
            '</object>',
            '</div>'
        ]),


        //View Properties
        id: 'errorlog_detail',
{'fraction_non_alphanumeric': 0.17113223854796888, 'fraction_numerical': 0.01598962834917891, 'mean_word_length': 2.5444104134762635, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5297478', 'n_tokens_mistral': 1465, 'n_tokens_neox': 1414, 'n_words': 266}