File "FunctionOpeningBraceSpaceUnitTest.js"

Full Path: /home/warrior1/public_html/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.js
File size: 1.36 KB
MIME-type: text/plain
Charset: utf-8

function FuncOne()
{
    // Code here.

}//end AdjustModalDialogWidgetType


Testing.prototype = {

    doSomething: function()
    {

        // Code here.

    },

    doSomethingElse: function()
    {
        // Code here.

    },

    start: function()
    {
        this.toolbarPlugin.addButton('Image', 'imageEditor', 'Insert/Edit Image', function () { self.editImage() });

    },
};

function FuncFour()
{


    // Code here.
}

AbstractAttributeEditorWidgetType.prototype = {
    isActive: function() {

        return this.active;

    },

    activate: function(data)
    {
        var x = {
            test: function () {
                alert('This is ok');
            }
        };

        this.active = true;

    }

};

function test() {
    var x = 1;
    var y = function()
    {
        alert(1);
    }

    return x;

}

var myFunc = function()
{
    var x = 1;

    blah(x, y, function()
    {
        alert(2);
    }, z);

    blah(function() { alert(2); });

    return x;

}

HelpWidgetType.prototype = {
    init: function() {
    var x = 1;
    var y = {
        test: function() {


            alert(3);
        }
    }
    return x;

    }
}

CustomFormEditWidgetType.prototype = {

    addQuestion: function()
    {
        var settings = {
            default: ''
        };

    },

    addQuestionRulesEvent: function()
    {
        var self = this;

    }

};