src/salvation.js
function () {
            var emptyFunction = new RegExp(/(\{\s\})|(\{\})/),
                publicMethods = {};
            for (property in this.settings) {
                if (typeof this.settings[property] == 'function' &&
                    typeof this[property] == 'function') {
                    var method = this.settings[property];
                    if (emptyFunction.test(method)) {
                        publicMethods[property] = this[property];
                    } else {
                        var defaultMethodName = this.createDefaultMethodName(property);
                        publicMethods[property] = this.settings[property];
                        publicMethods[defaultMethodName] = this[property];
                    }
                }
            }

            publicMethods.stylings = this.stylings;

            return publicMethods;
        }
function () {
            var emptyFunction = new RegExp(/(\{\s\})|(\{\})/),
                publicMethods = {};
            for (property in this.settings) {
                if (typeof this.settings[property] == 'function' &&
                    typeof this[property] == 'function') {
                    var method = this.settings[property];
                    if (emptyFunction.test(method)) {
                        publicMethods[property] = this[property];
                    } else {
                        var defaultMethodName = this.createDefaultMethodName(property);
                        publicMethods[property] = this.settings[property];
                        publicMethods[defaultMethodName] = this[property];
                    }
                }
            }

            publicMethods.stylings = this.stylings;

            return publicMethods;
        }
function ( ) { var emptyFunction = new RegExp ( / (\{\s\})|(\{\}) / ) , publicMethods = { } ; for ( property in this . settings ) { if ( typeof this . settings [ property ] == 'function' && typeof this [ property ] == 'function' ) { var method = this . settings [ property ] ; if ( emptyFunction . test ( method ) ) { publicMethods [ property ] = this [ property ] ; } else { var defaultMethodName = this . createDefaultMethodName ( property ) ; publicMethods [ property ] = this . settings [ property ] ; publicMethods [ defaultMethodName ] = this [ property ] ; } } } publicMethods . stylings = this . stylings ; return publicMethods ; }
Creates an object of pseudo-public
methods that will be returned when
the plugin is initialized.

@returns     Object
Creates an object of pseudo - public methods that will be returned when the plugin is initialized .