8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea2022d commit 30a6125Copy full SHA for 30a6125
framework-business-logic-source/controllers/default.js
@@ -8,8 +8,13 @@ function view_homepage() {
8
9
// This function does the same as require (only adds path to the source directory)
10
11
- var layer_include = include('layer');
12
- var layer_source = source('layer');
+ // INCLUDE == SOURCE are same
+
13
+ // http://docs.totaljs.com/global/#INCLUDE
14
+ var layer_include = INCLUDE('layer');
15
16
+ // http://docs.totaljs.com/global/#SOURCE
17
+ var layer_source = SOURCE('layer');
18
19
self.plain('{0}\n{1}'.format(layer_include.hello(), layer_source.hello()));
20
}
0 commit comments