UNPKG

818 BJavaScriptView Raw
1"use strict";
2
3module.exports = function( moduleName ) {
4 this.moduleName = moduleName;
5 /**
6 * Here is the skeleton of the code generated for a View.
7 * All the sections are marked as comments.
8 *
9 * try {
10 * module.exports = function() {
11 * // <requires>
12 * // <functions>
13 * // <variables>
14 * // <converters>
15 * // <templates>
16 * return function( args ) {
17 * try {
18 * // <view:attributes>
19 * // <view:elements>
20 * // <view:links>
21 * // <view.initElements>
22 * // <view.initAttributes>
23 * } catch...
24 * };
25 * }
26 * } catch...
27 */
28 this.sections = {
29 requires: [],
30 functions: [],
31 variables: [],
32 converters: [],
33 templates: []
34 };
35};