8000 updated: comments · markandrewj/angular-examples@30a6125 · GitHub
[go: up one dir, main page]

Skip to content

Commit 30a6125

Browse files
committed
updated: comments
1 parent ea2022d commit 30a6125

File tree

1 file changed

+7
-2
lines changed
  • framework-business-logic-source/controllers

1 file changed

+7
-2
lines changed

framework-business-logic-source/controllers/default.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ function view_homepage() {
88

99
// This function does the same as require (only adds path to the source directory)
1010

11-
var layer_include = include('layer');
12-
var layer_source = source('layer');
11+
// INCLUDE == SOURCE are same
12+
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');
1318

1419
self.plain('{0}\n{1}'.format(layer_include.hello(), layer_source.hello()));
1520
}

0 commit comments

Comments
 (0)
0