| CODENOTIFIER | HelpYou are not signed inSign in |
Project: erlyweb
Revision: 216
Author: yarivvv
Date: 08 Dec 2007 21:10:27
Changes:code generation fix
Files:| ... | ...@@ -87,7 +87,7 @@ | |
| 87 | 87 | "-export([hook/1]).\n\n" |
| 88 | 88 | "hook(A) ->\n" |
| 89 | 89 | "\t{phased, {ewc, A},\n" |
| 90 | "\t\tfun(_Ewc, Data) ->\n" | |
| 90 | "\t\tfun(_Ewc, Data, _PhasedVars) ->\n" | |
| 91 | 91 | "\t\t\t{ewc, html_container, index, [A, {data, Data}]}\n" |
| 92 | 92 | "\t\tend}."], |
| 93 | 93 | iolist_to_binary(Text). |
| ... | ...@@ -109,6 +109,9 @@ | |
| 109 | 109 | %% |
| 110 | 110 | %% - `{last_compile_time, LocalTime}': Tells ErlyWeb to not compile files |
| 111 | 111 | %% that haven't changed since LocalTime. |
| 112 | %% Since ErlyWeb 0.7, you can use 'auto' for LocalTime. This | |
| 113 | %% instructs ErlyWeb to compile only the files that have changed since | |
| 114 | %% the last compilation. This is the recommended option. | |
| 112 | 115 | %% |
| 113 | 116 | %% - `{erlydb_driver, Name}': Tells ErlyWeb which ErlyDB driver to use |
| 114 | 117 | %% when calling erlydb:code_gen on models that are placed in src/components. |
| ... | ...@@ -277,6 +280,7 @@ | |
| 277 | 280 | end |
| 278 | 281 | end. |
| 279 | 282 | |
| 283 | ||
| 280 | 284 | %% @doc Get the expanded 'ewc' tuple for the request. |
| 281 | 285 | %% |
| 282 | 286 | %% This function can be useful in the app controller in case the |