seikai
6/13/2013 - 8:44 AM

amd class define template

amd class define template

define([
        "require"
    ],
    function (require) {

        /**
         * @exports Klass
         * @constructor
         */
        var Klass = function(){
            this.initialize.apply(this, arguments);
        };

        (function(){

            /**
             * initialize
             *
             * @alias Klass
             */
            this.initialize = function(){

            }

        }).call(Klass.prototype);


        return Klass;
    }
);