Guest User

Untitled

a guest
Sep 14th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. //==============================================================================
  2. // Company: Yobi
  3. // Framework: YUI3
  4. // Template version: 0.1.3
  5. // Type: YUI module
  6. //==============================================================================
  7.  
  8. /**
  9. * <%= moduleDescription %>
  10. *
  11. * @module <%= moduleName %>
  12. * @submodule <%= submoduleName %>
  13. * @requires <%= requiredModuleNames %>
  14. */
  15. Y.namespace('{{moduleNamespace %>');
  16.  
  17. //------------------------------------------------------------------------------
  18. // Init
  19. //------------------------------------------------------------------------------
  20.  
  21.  
  22.  
  23. //------------------------------------------------------------------------------
  24. // Units
  25. //------------------------------------------------------------------------------
  26.  
  27. /**
  28. * <%= classDescription %>
  29. *
  30. * @class <%= className %>
  31. * <%= @constructor || @static %>
  32. * @extends <%= extensionClassName %>
  33. * @uses <%= usedClassNames %>
  34. * @namespace <%= moduleNamespace %>
  35. */
  36. <%= moduleNamespace %>.<%= className %> = (function () {
  37.  
  38. var Class = Y.Base.create('<%= module %>', Y.Base, [], {
  39.  
  40. initializer: function (config) {
  41.  
  42. /**
  43. * <%= eventDescription %>
  44. *
  45. * @event <%= event %>
  46. * @type Event Custom
  47. */
  48. this.publish('<%= event %>', {
  49. emitFacade: false
  50. });
  51. },
  52.  
  53. /**
  54. * <%= instanceMethodDescription %>
  55. *
  56. * @method <%= instanceMethod %>
  57. * @param {<%= instanceMethodParamType %>} {<%= instanceMethodParamName %>} {<%= instanceMethodParamDescription %>}
  58. * @return {<%= instanceMethodReturnType %>} {<%= instanceMethodReturnDescription %>}
  59. */
  60. <%= instanceMethod %>: function () {
  61.  
  62.  
  63.  
  64. }
  65.  
  66. }, {
  67.  
  68. NS: "<%= module %>",
  69.  
  70. ATTRS: {
  71.  
  72. /**
  73. * <% propertyDescription %>
  74. *
  75. * @property <%= property %>
  76. * @type <%= type %>
  77. * @default <%= default %>
  78. * <%= @final %>
  79. * <%= @private %>
  80. * <%= @protected %>
  81. */
  82. "<%= property %>": {
  83. value: <%= default %>
  84. }
  85.  
  86. },
  87.  
  88. /**
  89. * <%= staticMethodDescription %>
  90. *
  91. * @method <%= staticMethod %>
  92. * @param {<%= staticMethodParamType %>} {<%= staticMethodParamName %>} {<%= staticMethodParamDescription %>}
  93. * @return {<%= staticMethodReturnType %>} {<%= staticMethodReturnDescription %>}
  94. */
  95. <%= staticMethod %>: function () {
  96.  
  97.  
  98.  
  99. }
  100.  
  101. });
  102.  
  103. return Class;
  104.  
  105. })();
Add Comment
Please, Sign In to add comment