Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //==============================================================================
- // Company: Yobi
- // Framework: YUI3
- // Template version: 0.1.3
- // Type: YUI module
- //==============================================================================
- /**
- * <%= moduleDescription %>
- *
- * @module <%= moduleName %>
- * @submodule <%= submoduleName %>
- * @requires <%= requiredModuleNames %>
- */
- Y.namespace('{{moduleNamespace %>');
- //------------------------------------------------------------------------------
- // Init
- //------------------------------------------------------------------------------
- //------------------------------------------------------------------------------
- // Units
- //------------------------------------------------------------------------------
- /**
- * <%= classDescription %>
- *
- * @class <%= className %>
- * <%= @constructor || @static %>
- * @extends <%= extensionClassName %>
- * @uses <%= usedClassNames %>
- * @namespace <%= moduleNamespace %>
- */
- <%= moduleNamespace %>.<%= className %> = (function () {
- var Class = Y.Base.create('<%= module %>', Y.Base, [], {
- initializer: function (config) {
- /**
- * <%= eventDescription %>
- *
- * @event <%= event %>
- * @type Event Custom
- */
- this.publish('<%= event %>', {
- emitFacade: false
- });
- },
- /**
- * <%= instanceMethodDescription %>
- *
- * @method <%= instanceMethod %>
- * @param {<%= instanceMethodParamType %>} {<%= instanceMethodParamName %>} {<%= instanceMethodParamDescription %>}
- * @return {<%= instanceMethodReturnType %>} {<%= instanceMethodReturnDescription %>}
- */
- <%= instanceMethod %>: function () {
- }
- }, {
- NS: "<%= module %>",
- ATTRS: {
- /**
- * <% propertyDescription %>
- *
- * @property <%= property %>
- * @type <%= type %>
- * @default <%= default %>
- * <%= @final %>
- * <%= @private %>
- * <%= @protected %>
- */
- "<%= property %>": {
- value: <%= default %>
- }
- },
- /**
- * <%= staticMethodDescription %>
- *
- * @method <%= staticMethod %>
- * @param {<%= staticMethodParamType %>} {<%= staticMethodParamName %>} {<%= staticMethodParamDescription %>}
- * @return {<%= staticMethodReturnType %>} {<%= staticMethodReturnDescription %>}
- */
- <%= staticMethod %>: function () {
- }
- });
- return Class;
- })();
Add Comment
Please, Sign In to add comment